{"cve":"CVE-2020-28248","nvd":{"published":"2021-02-20T00:15:12.483","modified":"2026-06-17T03:10:14.540","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-190","CWE-787"],"references":["https://github.com/gemini-testing/png-img","https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d","https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0","https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img","https://github.com/gemini-testing/png-img"],"products":["png-img_project:png-img"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2020-28248","score":0.02216,"percentile":0.82644,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q5wr-fvpq-p67g","url":"https://osv.dev/vulnerability/GHSA-q5wr-fvpq-p67g","summary":"Integer Overflow in png-img","modified":"2023-11-08T04:03:24.222139Z","packages":[{"ecosystem":"npm","name":"png-img","purl":"pkg:npm/png-img","ranges":["<3.1.0"],"fixed":["3.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}