CVE-2026-22801

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*

History

21 Jan 2026, 18:58

Type Values Removed Values Added
CPE cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*
First Time Libpng
Libpng libpng
References () https://github.com/pnggroup/libpng/security/advisories/GHSA-vgjq-8cw5-ggw8 - () https://github.com/pnggroup/libpng/security/advisories/GHSA-vgjq-8cw5-ggw8 - Third Party Advisory

12 Jan 2026, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-12 23:15

Updated : 2026-01-21 18:58


NVD link : CVE-2026-22801

Mitre link : CVE-2026-22801

CVE.ORG link : CVE-2026-22801


JSON object : View

Products Affected

libpng

  • libpng
CWE
CWE-125

Out-of-bounds Read

CWE-190

Integer Overflow or Wraparound