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

 

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

Published: January 13, 2026


Vulnerability identifier: #VU121183
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-22695
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 a boundary condition within the png_image_finish_read() function when reading 16-bit PNG images with 8-bit output format and non-minimal row stride. A remote attacker can supply a specially crafted PNG image 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.

Note, the vulnerability exists due to an incomplete fix for #VU118777 (CVE-2025-65018).


Affected software

libpng
Debian Linux
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Micro
Red Hat Enterprise Linux for Power, little endian
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 ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
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
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
libpng16-16-debuginfo-32bit
libpng16-16-debuginfo
libpng16-devel
libpng16-compat-devel
libpng16-debugsource
libpng16-16
libpng16-16-32bit
libpng1.6 (Ubuntu package)
mingw64-libpng
mingw32-libpng
mingw-libpng (Red Hat package)
libpng (Red Hat package)
libpng
libpng-static
libpng-devel
libpng16-16-32bit-debuginfo
libpng1.6 (Debian package)
libpng-tools
libpng-help
libpng-debugsource
libpng-debuginfo
libpng16-compat-devel-32bit
libpng16-devel-32bit
libpng16-tools
libpng16-tools-debuginfo
libpng16-devel-64bit
libpng16-16-64bit
libpng16-16-64bit-debuginfo
libpng16-compat-devel-64bit
IBM Business Automation Workflow
Juniper Junos Space

How to mitigate CVE-2026-22695

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
libpng16-16-debuginfo-32bit - update to 1.6.8-15.15.1
libpng16-16-debuginfo - addressed in versions 1.6.8-15.15.1, 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1, 1.6.58-1.1
libpng16-devel - addressed in versions 1.6.8-15.15.1, 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-compat-devel - addressed in versions 1.6.8-15.15.1, 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-debugsource - addressed in versions 1.6.8-15.15.1, 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1, 1.6.58-1.1
libpng16-16 - addressed in versions 1.6.8-15.15.1, 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1, 1.6.58-1.1
libpng16-16-32bit - addressed in versions 1.6.8-15.15.1, 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
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 - update to 1.6.34-10
libpng-static - update to 1.6.34-10
libpng-devel - update to 1.6.34-10
libpng16-16-32bit-debuginfo - addressed in versions 1.6.34-150000.3.19.1, 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.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-5
libpng-help - 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-debuginfo - update to 1.6.40-5
libpng - update to 1.6.40-5
libpng16-compat-devel-32bit - addressed in versions 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-devel-32bit - addressed in versions 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-tools - addressed in versions 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-tools-debuginfo - addressed in versions 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-devel-64bit - addressed in versions 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-16-64bit - addressed in versions 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-16-64bit-debuginfo - addressed in versions 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.1
libpng16-compat-devel-64bit - addressed in versions 1.6.40-150600.3.6.1, 1.6.40-150600.3.9.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