High severity8.8NVD Advisory· Published Feb 20, 2021· Updated Jun 17, 2026
CVE-2020-28248
CVE-2020-28248
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
png-imgnpm | < 3.1.0 | 3.1.0 |
Affected products
3- png-img/png-imgdescription
Patches
Vulnerability mechanics
References
5- github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3dnvdPatchThird Party AdvisoryWEB
- securitylab.github.com/advisories/GHSL-2020-142-gemini-png-imgnvdExploitThird Party AdvisoryADVISORY
- github.com/advisories/GHSA-q5wr-fvpq-p67gghsaADVISORY
- github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0nvdRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2020-28248ghsaADVISORY
News mentions
0No linked articles in our index yet.