Skip to main content
MEDIUM

CVE-2026-22801

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

CVSS v3

6.8

MEDIUM

EPSS Score

0.1 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

none

SSVC status

Get an alert for each new CVE published for libpng.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libpngAlmaLinux:10all versions · fixed in 2:1.6.40-8.el10_1.2and 1 other package
  • libpngAlmaLinux:9all versions · fixed in 2:1.6.37-12.el9_7.2and 1 other package
  • libpngAlmaLinux:8all versions · fixed in 2:1.6.34-10.el8_10and 1 other package
  • mingw32-libpngAlmaLinux:8all versions · fixed in 1.6.34-2.el8_10and 3 other packages

Vendor advisories

  • CVE-2026-22801 Red Hat Product Security3,311 products fixed · 61 known affected

    libpng: libpng: Information disclosure and denial of service via integer truncation in simplified write API

    java-1.8.0-openjdk-portable.src as a component of Red Hat build of OpenJDK 1.8 · java-17-openjdk-portable.src as a component of Red Hat build of OpenJDK 17 · java-21-openjdk-portable.src as a component of Red Hat build of OpenJDK 21

  • RHSA-2026:80330 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:16174 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat AI Inference Server 3.3.3 (Spyre)

  • RHSA-2026:12274 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.12.88 bug fix and security update

  • RHSA-2026:9689 Red Hat Product Security834 products fixed

    Red Hat Security Advisory: java-21-openjdk security update

  • RHSA-2026:9683 Red Hat Product Security780 products fixed

    Red Hat Security Advisory: java-1.8.0-openjdk security update

23 more advisories

Full record on NVD

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Published
2026-01-12
Last Modified
2026-01-21

Frequently asked questions

What is 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.

Is CVE-2026-22801 actively exploited?

Active exploitation of CVE-2026-22801 has not been confirmed. Its EPSS score was 0.1% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-22801?

CVE-2026-22801 has a CVSS v3 base score of 6.8 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.

Running libpng? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month