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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:png-img_project:png-img:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:22

Type Values Removed Values Added
References () https://github.com/gemini-testing/png-img - Product () https://github.com/gemini-testing/png-img - Product
References () https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d - Patch, Third Party Advisory () https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d - Patch, Third Party Advisory
References () https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0 - Release Notes, Third Party Advisory () https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0 - Release Notes, Third Party Advisory
References () https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img - Exploit, Third Party Advisory () https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img - Exploit, Third Party Advisory

Information

Published : 2021-02-20 00:15

Updated : 2024-11-21 05:22


NVD link : CVE-2020-28248

Mitre link : CVE-2020-28248

CVE.ORG link : CVE-2020-28248


JSON object : View

Products Affected

png-img_project

  • png-img
CWE
CWE-190

Integer Overflow or Wraparound

CWE-787

Out-of-bounds Write