{"id":"CVE-2020-28248","published":"2021-02-19T23:05:09Z","modified":"2024-08-04T16:33:58Z","title":"An integer overflow in the PngImg::InitStorage_() function of png-img before 3.1.0 leads to an under-allocation of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02244,"percentile":0.83285,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/gemini-testing/png-img","tags":["x_refsource_MISC"]},{"url":"https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d","tags":["x_refsource_MISC"]},{"url":"https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":16.66}]},"affected":[{"ecosystem":"npm","package":"png-img","vulnerableRanges":["<3.1.0"],"patched":["3.1.0"],"from":["GHSA-q5wr-fvpq-p67g"],"provenance":"source"}],"summary":{"text":"The flaw is an integer overflow in the PngImg::InitStorage_() function of the png-img library (versions before 3.1.0), which causes too little heap memory to be allocated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:23Z"},"euvd":{"id":"EUVD-2021-2566","exploited":false,"provenance":"source"}}