CVE 6.8 MEDIUM

LIBPNG has an integer truncation causing heap buffer over-read in png_image_write_*_CVE-2026-22801

6.8 / 10
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

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.

Basic Information

ID CVE-2026-22801
Source GitHub_M
Published Jan 12, 2026 at 22:57

Affected Product

Vendor pnggroup
Product libpng
Version < 1.6.54
Affected Versions pnggroup libpng < 1.6.54

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.