CVE-2026-22801
Last modified
CVE-2026-22801 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libpng | Libpng | >= 1.6.26, < 1.6.54 |
References
- https://github.com/pnggroup/libpng/security/advisories/GHSA-vgjq-8cw5-ggw8Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-22801?
How severe is CVE-2026-22801?
How do I fix CVE-2026-22801?
Are you affected by CVE-2026-22801?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
