CVE-2020-28248

HIGH

png-img < 3.1.0 - Heap-Based Buffer Overflow via Integer Overflow in PngImg::InitStorage_()

Title source: llm
STIX 2.1

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.

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