Vulnerability · Published Feb 19, 2021 · Assigned by mitre

CVE-2020-28248

High 8.8

In plain English

A high-severity security flaw in the png-img package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)8.8High
Exploit odds (30 days)2.2%top 17.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmpng-img3.1.0GHSA-q5wr-fvpq-p67g

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References