CVE-2018-14550 — Out-of-bounds write in libpng — CVE Details
HIGH
Out-of-bounds write in libpng
Published March 22, 2021Updated February 22, 2024Source: osv
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.
Advisory Timeline
- First published March 22, 2021 (2030 days ago).
- Last revised February 22, 2024 — 1067 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
NuGet
Update libpng to 1.6.37 or laterdotnet add package libpng --version 1.6.37
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: nuget (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| libpng | nuget | 1.5.10.11, 1.5.10.13, 1.5.10.9, 1.6.18.1 (+7 more) | 1.6.37 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-787Out-of-bounds WriteMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-14550ADVISORY
- https://github.com/glennrp/libpng/issues/246WEB
- https://github.com/fouzhe/security/tree/master/libpng#stack-buffer-overflow-in-png2pnm-in-function-get_tokenWEB
- https://github.com/glennrp/libpngPACKAGE
- https://security.gentoo.org/glsa/201908-02WEB
- https://security.netapp.com/advisory/ntap-20221028-0001WEB
- https://snyk.io/vuln/SNYK-UPSTREAM-LIBPNG-1043612WEB
- https://www.oracle.com/security-alerts/cpuApr2021.htmlWEB
- https://www.oracle.com/security-alerts/cpuoct2021.htmlWEB
Frequently Asked Questions
- What is CVE-2018-14550?
- Out-of-bounds write in libpng This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2018-14550?
- CVE-2018-14550 affects libpng. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-14550 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
8.8
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-qwwr-qc2p-6283
Related CVEs
- CVE-2026-106112HIGH
ImageSharp: ICC LUT16 output channel count can write beyond Vector4
- CVE-2026-106115HIGH
ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies