cve.bz

CVE-2026-22801 libpng libpng: Out-of-bounds Read

7.8 highEPSS 0.1%

High (7.8) in libpng libpng. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-01-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-125 Out-of-bounds Read
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-22801 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-22801?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-22801?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-22801 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libpng:libpngfrom 1.6.26 before 1.6.54

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libpng1.61.6.37-3+deb11u2DLA-4481-1
Debian12libpng1.61.6.39-2+deb12u2DEBIAN-CVE-2026-22801
Debian13libpng1.61.6.48-1+deb13u2DEBIAN-CVE-2026-22801
Debian14libpng1.61.6.54-1DEBIAN-CVE-2026-22801
Ubuntu22.04:LTSlibpng1.61.6.37-3ubuntu0.3UBUNTU-CVE-2026-22801 USN-7963-1
Ubuntu24.04:LTSlibpng1.61.6.43-5ubuntu0.3UBUNTU-CVE-2026-22801 USN-7963-1
Ubuntu25.10libpng1.61.6.50-1ubuntu0.3UBUNTU-CVE-2026-22801 USN-7963-1
Ubuntu26.04:LTSlibpng1.61.6.54-1UBUNTU-CVE-2026-22801
UbuntuPro:16.04:LTSlibpng1.61.6.20-2ubuntu0.1~esm3USN-8035-1
UbuntuPro:18.04:LTSlibpng1.61.6.34-1ubuntu0.18.04.2+esm2UBUNTU-CVE-2026-22801 USN-8035-1
UbuntuPro:20.04:LTSlibpng1.61.6.37-2ubuntu0.1~esm2UBUNTU-CVE-2026-22801 USN-8035-1
Red Hatenterprise_linux:8::appstreamjava-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 10 more1:21.0.11.0.10-1.el8RHSA-2026:9689
Red Hatenterprise_linux:8::appstream, rhel_aus:8.4::appstream, rhel_aus:8.6::appstream and 3 morejava-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo and 10 more1:1.8.0.492.b09-1.el8RHSA-2026:9683
Red Hatenterprise_linux:8::appstream, rhel_aus:8.6::appstream, rhel_e4s:8.6::appstream and 1 morejava-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 10 more1:17.0.19.0.10-1.el8RHSA-2026:9686
Red Hatenterprise_linux:8::baseoslibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.34-10.el8_10RHSA-2026:4728
Red Hatenterprise_linux:8::crbjava-1.8.0-openjdk-debuginfo, java-1.8.0-openjdk-fastdebug, java-1.8.0-openjdk-slowdebug and 22 more1:1.8.0.492.b09-1.el8RHSA-2026:9683
Red Hatenterprise_linux:8::crbjava-17-openjdk-debuginfo, java-17-openjdk-fastdebug, java-17-openjdk-slowdebug and 21 more1:17.0.19.0.10-1.el8RHSA-2026:9686
Red Hatenterprise_linux:8::crbjava-21-openjdk-debuginfo, java-21-openjdk-fastdebug, java-21-openjdk-slowdebug and 21 more1:21.0.11.0.10-1.el8RHSA-2026:9689
Red Hatenterprise_linux:8::crbmingw-libpng, mingw32-libpng, mingw64-libpng and 4 more0:1.6.34-2.el8_10RHSA-2026:4306
Red Hatenterprise_linux:9::appstreamjava-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo and 9 more1:1.8.0.492.b09-2.el9RHSA-2026:9683
Red Hatenterprise_linux:9::appstreamjava-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 10 more1:17.0.19.0.10-2.el9RHSA-2026:9686
Red Hatenterprise_linux:9::appstreamjava-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 10 more1:21.0.11.0.10-2.el9RHSA-2026:9689
Red Hatenterprise_linux:9::appstreamlibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.37-12.el9_7.2RHSA-2026:3405
36 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morelibpng161.6.34-150000.3.19.1SUSE-SU-2026:0596-1
SUSELinux Enterprise Module for Basesystem 15 SP7libpng161.6.40-150600.3.6.1SUSE-SU-2026:0234-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libpng161.6.44-160000.4.1SUSE-SU-2026:20127-1
SUSELinux Micro 6.0libpng161.6.43-3.1SUSE-SU-2026:20523-1
SUSELinux Micro 6.0libpng161.6.58-1.1SUSE-SU-2026:23063-1
SUSELinux Micro 6.1libpng161.6.43-slfo.1.1_3.1SUSE-SU-2026:20530-1
SUSELinux Micro 6.1libpng161.6.58-slfo.1.1_1.1SUSE-SU-2026:23514-1
SUSELinux Micro 6.2libpng161.6.44-160000.4.1SUSE-SU-2026:20155-1
openSUSELeap 15.6libpng161.6.40-150600.3.6.1SUSE-SU-2026:0234-1
openSUSELeap 16.0libpng161.6.44-160000.4.1openSUSE-SU-2026:20083-1
openSUSETumbleweedlibpng161.6.54-1.1openSUSE-SU-2026:10060-1
AlmaLinux8java-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo and 17 more1:1.8.0.492.b09-1.el8ALSA-2026:9683
AlmaLinux8java-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 20 more1:17.0.19.0.10-1.el8ALSA-2026:9686
AlmaLinux8java-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 20 more1:21.0.11.0.10-1.el8ALSA-2026:9689
AlmaLinux8libpng, libpng-devel2:1.6.34-10.el8_10ALSA-2026:4728
AlmaLinux8mingw32-libpng, mingw64-libpng, mingw32-libpng-static and 1 more1.6.34-2.el8_10ALSA-2026:4306
AlmaLinux9java-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo and 14 more1:1.8.0.492.b09-2.el9.alma.1ALSA-2026:9683
AlmaLinux9java-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 20 more1:17.0.19.0.10-2.el9.alma.1ALSA-2026:9686
AlmaLinux9java-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 20 more1:21.0.11.0.10-2.el9.alma.1ALSA-2026:9689
AlmaLinux9libpng, libpng-devel2:1.6.37-12.el9_7.2ALSA-2026:3405
AlmaLinux10java-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 20 more1:21.0.11.0.10-2.el10_2.alma.1ALSA-2026:9689
AlmaLinux10libpng, libpng-devel2:1.6.40-8.el10_1.2ALSA-2026:3551
Rocky Linux8libpng2:1.6.34-10.el8_10RLSA-2026:4728
Rocky Linux8mingw-libpng0:1.6.34-2.el8_10RLSA-2026:4306
Rocky Linux9libpng2:1.6.37-12.el9_7.2RLSA-2026:3405
Rocky Linux10libpng2:1.6.40-8.el10_1.2RLSA-2026:3551
Alpinev3.20, v3.21, v3.22 and 2 morelibpng1.6.54-r0ALPINE-CVE-2026-22801
Azure Linux2gdalno fix listedAZL-74499
Azure Linux2libpng1.6.54-1AZL-74283
Azure Linux3fltkno fix listedAZL-74502
Azure Linux3gdalno fix listedAZL-74505
Azure Linux3libpng1.6.54-1AZL-74264
Azure Linux3optipngno fix listedAZL-74508
Alpaquita23, 25, streamlibpng1.6.54-r0BELL-CVE-2026-22801
BellSoft Hardened Containers23, 25, streamlibpng1.6.54-r0BELL-CVE-2026-22801

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat products. An integer truncation flaw in the libpng simplified write API functions (`png_write_image_16bit`, `png_write_image_8bit`) can lead to a heap buffer over-read. Exploitation requires an application to process specially crafted input that provides a negative row stride or a stride exceeding 65535 bytes, potentially resulting in denial of service or information disclosure.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
OPENJDK ELS 11.0.31java-11-openjdk-portableFixed 2026-04-22RHSA-2026:9255
Red Hat Build of OpenJDK 17.0.9java-17-openjdk-portableFixed 2026-04-23RHSA-2026:9687
Red Hat Build of OpenJDK 21.0.11java-21-openjdk-portableFixed 2026-04-23RHSA-2026:9690
Red Hat Build of OpenJDK 25.0.2java-25-openjdk-portableFixed 2026-03-31RHBA-2026:6267
Red Hat Build of OpenJDK 25.0.3java-25-openjdk-portableFixed 2026-04-23RHSA-2026:9694
Red Hat Build of OpenJDK 8u492java-1.8.0-openjdk-portableFixed 2026-04-23RHSA-2026:9684
Red Hat Enterprise Linux 10libpng-2:1.6.40-8.el10_1.2Fixed 2026-03-02RHSA-2026:3551
Red Hat Enterprise Linux 10java-21-openjdk-1:21.0.11.0.10-2.el10_2Fixed 2026-04-24RHSA-2026:9689
Red Hat Enterprise Linux 10.0 Extended Update Supportlibpng-2:1.6.40-8.el10_0.2Fixed 2026-03-03RHSA-2026:3577
Red Hat Enterprise Linux 10.0 Extended Update Supportjava-21-openjdk-1:21.0.11.0.10-1.el10_2Fixed 2026-04-24RHSA-2026:9689
Red Hat build of OpenJDK 11 ELSjava-21-openjdk-portableNot affected
Red Hat build of OpenJDK 17java-21-openjdk-portableNot affected
Red Hat build of OpenJDK 21java-21-openjdk-portable-rhel7Not affected
Red Hat build of OpenJDK 25java-21-openjdk-vanillaNot affected
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10java-25-openjdkAffected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 6libpngWill not fix
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 7libpngNot affected
68 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-22801.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High
  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON