CVE-2026-22801

Medium

Description

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions png_write_image_16bit and png_write_image_8bit causes heap buffer over-read when the caller provides a negative row stride (for bottom-up image layouts) or a stride exceeding 65535 bytes. The bug was introduced in libpng 1.6.26 (October 2016) by casts added to silence compiler warnings on 16-bit systems. This vulnerability is fixed in 1.6.54.

SeverityMedium
CVSS6.8
Exploit probability—
ProductLibpng
PublishedJan 12, 2026
First seenJan 12, 2026

How to fix

Update
  • libpng libpng1.6.54 or later

Affected products

ProductAffected versionsFixed in
libpng libpng1.6.26 ≤ v < 1.6.541.6.54

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.