Out-of-bounds read in libpng - CVE-2025-66293

 

Out-of-bounds read in libpng - CVE-2025-66293

Published: December 3, 2025


Vulnerability identifier: #VU119115
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-66293
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.

The vulnerability exists due to a boundary condition within the png_image_read_composite() function. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds read error and read contents of memory on the system.


Affected software

libpng
SUSE Manager Server 4.3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
Debian Linux
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
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 Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
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
Basesystem Module
openSUSE Leap
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
Ubuntu
openEuler
Engineering Lifecycle Management
Netezza Appliance
LANTIME Operating System Firmware (LTOS)
Juniper Secure Analytics (JSA)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libpng16-compat-devel
libpng16-16-debuginfo-32bit
libpng16-16-32bit
libpng16-devel
libpng16-debugsource
libpng16-16
libpng16-16-debuginfo
libpng1.6 (Ubuntu package)
mingw64-libpng
mingw32-libpng
mingw-libpng (Red Hat package)
libpng (Red Hat package)
libpng-devel
libpng
libpng16-16-32bit-debuginfo
libpng-debuginfo
libpng-debugsource
libpng-help
libpng-tools
libpng-static
libpng1.6 (Debian package)
libpng-doc
libpng16-compat-devel-32bit
libpng16-devel-32bit
libpng16-16-64bit-debuginfo
libpng16-compat-devel-64bit
libpng16-16-64bit
libpng16-devel-64bit
libpng16-tools
libpng16-tools-debuginfo
libpng16-16-x86-64-v3
libpng16-compat-devel-x86-64-v3
libpng16-devel-x86-64-v3
libpng16-16-x86-64-v3-debuginfo
Red Hat OpenShift Container Platform
OpenShift Virtualization
IBM Qradar SIEM
Juniper Junos Space

How to mitigate CVE-2025-66293

Install updates from vendor's website.

libpng - update to 1.6.52
Engineering Lifecycle Management - update to 1.3.0
Netezza Appliance - update to 1.0.1.0 fp278500
LANTIME Operating System Firmware (LTOS) - update to 7.10.008
Juniper Secure Analytics (JSA) - update to 7.5.0 UP15 IF01
libpng16-compat-devel - addressed in versions 1.6.8-15.12.1, 1.6.34-150000.3.12.1, 1.6.40-150600.3.3.1, 1.6.44-160000.3.1
libpng16-16-debuginfo-32bit - update to 1.6.8-15.12.1
libpng16-16-32bit - addressed in versions 1.6.8-15.12.1, 1.6.34-150000.3.12.1, 1.6.40-150600.3.3.1
libpng16-devel - addressed in versions 1.6.8-15.12.1, 1.6.34-150000.3.12.1, 1.6.40-150600.3.3.1, 1.6.44-160000.3.1
libpng16-debugsource - addressed in versions 1.6.8-15.12.1, 1.6.34-150000.3.12.1, 1.6.40-150600.3.3.1, 1.6.44-160000.3.1
libpng16-16 - addressed in versions 1.6.8-15.12.1, 1.6.34-150000.3.12.1, 1.6.40-150600.3.3.1, 1.6.44-160000.3.1
libpng16-16-debuginfo - addressed in versions 1.6.8-15.12.1, 1.6.34-150000.3.12.1, 1.6.40-150600.3.3.1, 1.6.44-160000.3.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-1
mingw32-libpng - update to 1.6.34-1
mingw-libpng (Red Hat package) - update to 1.6.34-1.el8_10
libpng (Red Hat package) - addressed in versions 1.6.34-8.el8_2.1, 1.6.34-8.el8_4.1, 1.6.34-8.el8_6.1, 1.6.34-8.el8_8.1, 1.6.34-9.el8_10, 1.6.37-12.el9_0.1, 1.6.37-12.el9_2.1, 1.6.37-12.el9_7.1, 1.6.40-8.el10_0.1, 1.6.40-8.el10_1.1
libpng-devel - addressed in versions 1.6.34-9, 1.6.40-3
libpng - addressed in versions 1.6.34-9, 1.6.40-3
libpng16-16-32bit-debuginfo - addressed in versions 1.6.34-150000.3.12.1, 1.6.40-150600.3.3.1
libpng - addressed in versions 1.6.37-3, 1.6.38-4, 1.6.40-3, 1.6.40-4
libpng-debuginfo - addressed in versions 1.6.37-3, 1.6.38-4, 1.6.40-3, 1.6.40-4
libpng-debugsource - addressed in versions 1.6.37-3, 1.6.38-4, 1.6.40-3, 1.6.40-4
libpng-devel - addressed in versions 1.6.37-3, 1.6.38-4, 1.6.40-3, 1.6.40-4
libpng-help - addressed in versions 1.6.37-3, 1.6.38-4, 1.6.40-3, 1.6.40-4
libpng-tools - addressed in versions 1.6.38-4, 1.6.40-3, 1.6.40-4
libpng-static - addressed in versions 1.6.38-4, 1.6.40-3, 1.6.40-4
libpng1.6 (Debian package) - addressed in versions 1.6.39-2+deb12u1, 1.6.48-1+deb13u1
libpng-doc - update to 1.6.40-3
libpng-tools - update to 1.6.40-3
libpng-static - update to 1.6.40-3
libpng16-compat-devel-32bit - update to 1.6.40-150600.3.3.1
libpng16-devel-32bit - update to 1.6.40-150600.3.3.1
libpng16-16-64bit-debuginfo - update to 1.6.40-150600.3.3.1
libpng16-compat-devel-64bit - update to 1.6.40-150600.3.3.1
libpng16-16-64bit - update to 1.6.40-150600.3.3.1
libpng16-devel-64bit - update to 1.6.40-150600.3.3.1
libpng16-tools - addressed in versions 1.6.40-150600.3.3.1, 1.6.44-160000.3.1
libpng16-tools-debuginfo - addressed in versions 1.6.40-150600.3.3.1, 1.6.44-160000.3.1
libpng16-16-x86-64-v3 - update to 1.6.44-160000.3.1
libpng16-compat-devel-x86-64-v3 - update to 1.6.44-160000.3.1
libpng16-devel-x86-64-v3 - update to 1.6.44-160000.3.1
libpng16-16-x86-64-v3-debuginfo - update to 1.6.44-160000.3.1
Red Hat OpenShift Container Platform - addressed in versions 4.12.86, 4.13.64, 4.14.62, 4.15.62, 4.16.57, 4.17.49, 4.18.33, 4.19.24
OpenShift Virtualization - update to 4.19.17
IBM Qradar SIEM - update to 7.5.0 Update Pack 14 IF04
Juniper Junos Space - update to 26.1R1 Patch V1

External References

Related Security Bulletins