CVE-2018-14550 json
Out-of-bounds write in libpng
published 2019-07-10 7 y ago modified 2026-06-17 4 mo ago also GHSA-qwwr-qc2p-6283 , EUVD-2021-0701
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
An issue has been found in third-party PNM decoding associated with libpng 1.6.35. It is a stack-based buffer overflow in the function get_token in pnm2png.c in pnm2png.
Patch / fix
- nuget libpng 1.6.37
- libpng1.6 Debian 14, Debian 13, Debian 12 1.6.37-1
debian advisories DEBIAN-CVE-2018-14550
- libpng Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 1.6.37-r0
alpine advisories ALPINE-CVE-2018-14550
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-14550 updated cvss 7.0
libpng: Stack-based buffer overflow in contrib/pngminus/pnm2png.c:get_token() potentially leading to arbitrary code execution
-
Red Hat Enterprise Linux 5 libpng Red Hat Enterprise Linux 6 libpng Red Hat Enterprise Linux 7 libpng, libpng12 Red Hat Enterprise Linux 8 libpng, libpng12 Red Hat Virtualization 4 libpngnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.54% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/glennrp/libpng/issues/246 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/fouzhe/security/tree/master/libpng#stack-buffer-overflow-in-png2pnm-in-function-get_token referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | libpng | <1.6.37 |
1.6.37 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
oracle.com
/security-alerts/cpuApr2021.html
web, patch, third-party-advisory
-
github.com
/glennrp/libpng/issues/246
web, exploit, patch, third-party-advisory
-
github.com
/fouzhe/security/tree/master/libpng#stack-buffer-overflow-in-png2pnm-in-function-get_token
web, exploit, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
security.gentoo.org
/glsa/201908-02
vendor-advisory, web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20221028-0001/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-14550
advisory
-
github.com
/glennrp/libpng
package
-
security.netapp.com
/advisory/ntap-20221028-0001
web
-
snyk.io
/vuln/SNYK-UPSTREAM-LIBPNG-1043612
web
Sources
- CVE List CVE-2018-14550
- GitHub Advisory GHSA-qwwr-qc2p-6283
- NVD CVE-2018-14550
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.