#VU70431 Division by zero in pngcheck


Published: 2022-12-19

Vulnerability identifier: #VU70431

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-369

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
pngcheck
Universal components / Libraries / Libraries used by multiple products

Vendor: libpng

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

pngcheck: 3.0.0 - 3.0.2


External links
http://www.libpng.org/pub/png/apps/pngcheck.html#3.0.3


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability