Out-of-bounds read in libpng - CVE-2026-22801

 

Out-of-bounds read in libpng - CVE-2026-22801

Published: January 13, 2026


Vulnerability identifier: #VU121184
CSH Severity: Medium
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-22801
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information or crash the application.

The vulnerability exists due to integer truncation within the png_write_image_16bit() and png_write_image_8bit() functions. A remote attacker can supply a specially crafted PNG file to the application, trigger an out-of-bounds read error and read contents of memory on the system or perform a denial of service attack.


Affected software

libpng
Debian Linux
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Micro
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Fedora
LANTIME Operating System Firmware (LTOS)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libpng1.6 (Ubuntu package)
mingw64-libpng
mingw32-libpng
mingw-libpng (Red Hat package)
libpng (Red Hat package)
libpng-static
libpng
libpng-devel
libpng16-debugsource
libpng16-16-debuginfo
libpng16-16
libpng16-devel
libpng16-compat-devel
libpng16-16-32bit
libpng16-16-32bit-debuginfo
libpng1.6 (Debian package)
libpng-tools
libpng-doc
libpng-debuginfo
libpng-help
libpng-debugsource
libpng16-compat-devel-32bit
libpng16-tools
libpng16-tools-debuginfo
libpng16-compat-devel-64bit
libpng16-16-64bit-debuginfo
libpng16-16-64bit
libpng16-devel-64bit
libpng16-devel-32bit
Oracle AutoVue
IBM Business Automation Workflow
Juniper Junos Space

How to mitigate CVE-2026-22801

Install updates from vendor's website.

libpng - update to 1.6.54
LANTIME Operating System Firmware (LTOS) - update to 7.10.008
IBM Business Automation Workflow - addressed in versions 24.0.0-IF009, 24.0.1-IF008, 25.0.0-IF005, 26.0.0.0
libpng1.6 (Ubuntu package) - addressed in versions 1.6.20-2ubuntu0.1~esm3, 1.6.34-1ubuntu0.18.04.2+esm2, 1.6.37-2ubuntu0.1~esm2, 1.6.37-3ubuntu0.3, 1.6.43-5ubuntu0.3, 1.6.47-1.1ubuntu0.3, 1.6.50-1ubuntu0.3
mingw64-libpng - update to 1.6.34-2
mingw32-libpng - update to 1.6.34-2
mingw-libpng (Red Hat package) - update to 1.6.34-2.el8_10
libpng (Red Hat package) - addressed in versions 1.6.34-8.el8_2.2, 1.6.34-8.el8_4.2, 1.6.34-8.el8_8.2, 1.6.34-10.el8_10, 1.6.37-12.el9_0.2, 1.6.37-12.el9_2.2, 1.6.37-12.el9_7.2, 1.6.40-8.el10_0.2, 1.6.40-8.el10_1.2
libpng-static - addressed in versions 1.6.34-10, 1.6.40-4
libpng - addressed in versions 1.6.34-10, 1.6.40-4
libpng-devel - addressed in versions 1.6.34-10, 1.6.40-4
libpng16-debugsource - addressed in versions 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.58-1.1
libpng16-16-debuginfo - addressed in versions 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.58-1.1
libpng16-16 - addressed in versions 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.58-1.1
libpng16-devel - addressed in versions 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1
libpng16-compat-devel - addressed in versions 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1
libpng16-16-32bit - addressed in versions 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1
libpng16-16-32bit-debuginfo - addressed in versions 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1
libpng1.6 (Debian package) - addressed in versions 1.6.39-2+deb12u3, 1.6.48-1+deb13u3
libpng-tools - update to 1.6.40-4
libpng-doc - update to 1.6.40-4
libpng-debuginfo - update to 1.6.40-5
libpng-help - update to 1.6.40-5
libpng-tools - update to 1.6.40-5
libpng-static - update to 1.6.40-5
libpng-devel - update to 1.6.40-5
libpng-debugsource - update to 1.6.40-5
libpng - update to 1.6.40-5
libpng16-compat-devel-32bit - update to 1.6.40-150600.3.6.1
libpng16-tools - update to 1.6.40-150600.3.6.1
libpng16-tools-debuginfo - update to 1.6.40-150600.3.6.1
libpng16-compat-devel-64bit - update to 1.6.40-150600.3.6.1
libpng16-16-64bit-debuginfo - update to 1.6.40-150600.3.6.1
libpng16-16-64bit - update to 1.6.40-150600.3.6.1
libpng16-devel-64bit - update to 1.6.40-150600.3.6.1
libpng16-devel-32bit - update to 1.6.40-150600.3.6.1
libpng - addressed in versions 1.6.55-1.fc42, 1.6.55-1.fc43
Juniper Junos Space - update to 26.1R1 Patch V1

External References

Related Security Bulletins