Buffer overflow in Png-Img Project
CVE-2020-28248
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.022, 83.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/gemini-testing/png-img (Product)
- github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce… (Patch, Third Party Advisory)
- github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0 (Third Party Advisory, Release Notes)
- securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img (Exploit, Third Party Advisory)