Out-of-bounds read in libpng - CVE-2026-22801

 

Out-of-bounds read in libpng - CVE-2026-22801

Published: January 13, 2026


Vulnerability identifier: #VU121184
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-22801
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libpng
Affected software:
libpng

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to potentially sensitive information or crash the application.

The vulnerability exists due to integer truncation within the png_write_image_16bit() and png_write_image_8bit() functions. A remote attacker can supply a specially crafted PNG file to the application, trigger an out-of-bounds read error and read contents of memory on the system or perform a denial of service attack.


How to mitigate CVE-2026-22801

Install updates from vendor's website.

Sources