Buffer overflow in pngcheck - CVE-2020-35511

 

Buffer overflow in pngcheck - CVE-2020-35511

Published: December 19, 2022


Vulnerability identifier: #VU70428
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-35511
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing PNG files within the pngcheck function. A remote attacker can pass a specially crafted PNG file to the application, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

pngcheck
Debian Linux
pngcheck (Debian package)

How to mitigate CVE-2020-35511

Install updates from vendor's website.

pngcheck - update to 3.0.0
pngcheck (Debian package) - update to 3.0.3-1~deb11u1

External References

Related Security Bulletins