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

EPSS: 0.022 (80.8th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-28248?
CVE-2020-28248 is a high-severity vulnerability in Png-Img Project, classified under Integer Overflow or Wraparound. CVSS score: 8.8/10. Published 2021-02-20.
How severe is CVE-2020-28248?
High severity. CVSS v3 base score is 8.8 out of 10.