Skip to content

CVE-2020-28248 Integer Overflow in png-img

HighCVSS 8.8 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm png-img(npm) < 3.1.0 3.1.0 Fixed
png-img project png-img < 3.1.0 3.1.0 Fixed

Affected products

ProductAffected versionsFixed in
npm png-img(npm) < 3.1.0 3.1.0
png-img project png-img < 3.1.0 3.1.0

References