CVE-2020-28248
HIGHpng-img < 3.1.0 - Heap-Based Buffer Overflow via Integer Overflow in PngImg::InitStorage_()
Title source: llmDescription
An integer overflow in the PngImg::InitStorage_() function of png-img before 3.1.0 leads to an under-allocation of heap memory and subsequently an exploitable heap-based buffer overflow when loading a crafted PNG file.
References (4)
Core 4
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0
Exploit, Third Party Advisory x_refsource_misc
https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img
Scores
CVSS v3
8.8
EPSS
0.0222
EPSS Percentile
80.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-190
CWE-787
Status
published
Products (2)
npm/png-img
0 - 3.1.0npm
png-img_project/png-img
< 3.1.0
Published
Feb 20, 2021
Tracked Since
Feb 18, 2026