libpng: Stack-based buffer overflow in contrib/pngminus/pnm2png.c:get_token() potentially leading to arbitrary code execution
Published Jul 10, 2019
8.8
HIGHCVSS 3.1
EPSS 3.54%
Description
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.
Affected products
No data.
Configuration 2
- 11.1.2.6.0
- ≤ 8.0.23
Configuration 3
- n/a
- n/a
No data.
Red Hat Enterprise Linux 5
libpng
Not affected
Red Hat Enterprise Linux 6
libpng
Not affected
Red Hat Enterprise Linux 7
libpng
Not affected
Red Hat Enterprise Linux 7
libpng12
Not affected
Red Hat Enterprise Linux 8
libpng
Not affected
Red Hat Enterprise Linux 8
libpng12
Not affected
Red Hat Virtualization 4
libpng
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | libpng | Not affected | n/a |
| Red Hat Enterprise Linux 6 | libpng | Not affected | n/a |
| Red Hat Enterprise Linux 7 | libpng | Not affected | n/a |
| Red Hat Enterprise Linux 7 | libpng12 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | libpng | Not affected | n/a |
| Red Hat Enterprise Linux 8 | libpng12 | Not affected | n/a |
| Red Hat Virtualization 4 | libpng | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of libpng as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the vulnerable code.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.54% (0.03541) | 88.90th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.55% (0.03554) | 87.78th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.57% (0.02567) | 84.19th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.54% (0.04544) | 81.59th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.57% (0.02567) | 84.50th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.36% (0.00359) | 72.44th | v3 (v2023.03.01) |
| Jul 3, 2024 | 0.36% (0.00359) | 72.36th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.51% (0.00508) | 75.86th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.51% (0.00508) | 73.36th | v3 (v2023.03.01) |
| May 8, 2023 | 0.50% (0.00498) | 72.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.56% (0.00563) | 74.34th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Oct 29, 2022 | 1.11% (0.01108) | 53.95th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v1 |
| Jan 6, 2022 | 1.25% (0.01247) | 29.93th | v1 |
| Oct 21, 2021 | 1.25% (0.01247) | 69.12th | v1 |
| Sep 1, 2021 | 1.04% (0.01040) | 64.49th | v1 |
| Jun 15, 2021 | 1.04% (0.01040) | 0.00th | v1 |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (12)
- https://access.redhat.com/security/cve/CVE-2018-14550 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1608800 Issue Tracking
- https://github.com/advisories/GHSA-qwwr-qc2p-6283 Advisory
- https://github.com/fouzhe/security/tree/master/libpng#stack-buffer-overflow-in-png2pnm-in-function-get_token ExploitPatchThird Party Advisory
- https://github.com/glennrp/libpng/issues/246 ExploitPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-14550
- https://security.gentoo.org/glsa/201908-02 vendor-advisoryThird Party Advisory
- https://security.netapp.com/advisory/ntap-20221028-0001/ Third Party Advisory
- https://snyk.io/vuln/SNYK-UPSTREAM-LIBPNG-1043612
- https://www.cve.org/CVERecord?id=CVE-2018-14550
- https://www.oracle.com/security-alerts/cpuApr2021.html PatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html PatchThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-14550 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1608800 | Issue Tracking | |
| https://github.com/advisories/GHSA-qwwr-qc2p-6283 | Advisory | |
| https://github.com/fouzhe/security/tree/master/libpng#stack-buffer-overflow-in-png2pnm-in-function-get_token | ExploitPatchThird Party Advisory | |
| https://github.com/glennrp/libpng/issues/246 | ExploitPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-14550 | ||
| https://security.gentoo.org/glsa/201908-02 | vendor-advisoryThird Party Advisory | |
| https://security.netapp.com/advisory/ntap-20221028-0001/ | Third Party Advisory | |
| https://snyk.io/vuln/SNYK-UPSTREAM-LIBPNG-1043612 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-14550 | ||
| https://www.oracle.com/security-alerts/cpuApr2021.html | PatchThird Party Advisory | |
| https://www.oracle.com/security-alerts/cpuoct2021.html | PatchThird Party Advisory |
Change history (0)
No recorded changes yet.