Division by zero in pngcheck - #VU70431

 

Division by zero in pngcheck - #VU70431

Published: December 19, 2022


Vulnerability identifier: #VU70431
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a division by zero issue when zlib-decoding interlaced PNGs with extra data beyond what is required for the declared image dimensions. A remote attacker can pass a specially crafted PNG file to the application and perform a denial of service (DoS) attack.


Affected software

pngcheck

Remediation

Install updates from vendor's website.

pngcheck - update to 3.0.3

External References

Related Security Bulletins