{"id":"CVE-2020-28248","sourceIdentifier":"cve@mitre.org","published":"2021-02-20T00:15:12.483","lastModified":"2026-06-17T03:10:14.540","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Un desbordamiento de enteros en la función PngImg::InitStorage_ () de png-img versiones anteriores a 3.1.0, conlleva a una subasignación de la memoria de la pila y, posteriormente, a un desbordamiento del búfer explotable en la región heap de la memoria al cargar un archivo PNG diseñado"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-190"},{"lang":"en","value":"CWE-787"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:png-img_project:png-img:*:*:*:*:*:*:*:*","versionEndExcluding":"3.1.0","matchCriteriaId":"433F356A-CB84-4159-866E-2837E32994C7"}]}]}],"references":[{"url":"https://github.com/gemini-testing/png-img","source":"cve@mitre.org","tags":["Product"]},{"url":"https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d","source":"cve@mitre.org","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0","source":"cve@mitre.org","tags":["Release Notes","Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/gemini-testing/png-img","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]},{"url":"https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}