cve.bz

CVE-2025-66293 libpng libpng: Out-of-bounds Read

7.1 highExploit referenceEPSS 0.4%Fix available

High (7.1) in libpng libpng. EPSS 0.4% 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. Prior to 1.6.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng's internal state management. Upgrade to libpng 1.6.52 or later.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-12-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-66293 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-66293?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-66293?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-2025-66293 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:libpngbefore 1.6.52

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libpng1.61.6.37-3+deb11u1DLA-4396-1
Debian12libpng1.61.6.39-2+deb12u1DEBIAN-CVE-2025-66293 DSA-6076-1
Debian13libpng1.61.6.48-1+deb13u1DEBIAN-CVE-2025-66293 DSA-6076-1
Debian14libpng1.61.6.52-1DEBIAN-CVE-2025-66293
Ubuntu22.04:LTSlibpng1.61.6.37-3ubuntu0.3UBUNTU-CVE-2025-66293 USN-7963-1
Ubuntu24.04:LTSlibpng1.61.6.43-5ubuntu0.3UBUNTU-CVE-2025-66293 USN-7963-1
Ubuntu25.10libpng1.61.6.50-1ubuntu0.3UBUNTU-CVE-2025-66293 USN-7963-1
UbuntuPro:16.04:LTSlibpng1.61.6.20-2ubuntu0.1~esm3UBUNTU-CVE-2025-66293 USN-8035-1
UbuntuPro:18.04:LTSlibpng1.61.6.34-1ubuntu0.18.04.2+esm2UBUNTU-CVE-2025-66293 USN-8035-1
UbuntuPro:20.04:LTSlibpng1.61.6.37-2ubuntu0.1~esm2UBUNTU-CVE-2025-66293 USN-8035-1
Red Hatenterprise_linux:8::baseoslibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.34-9.el8_10RHSA-2026:0241
Red Hatenterprise_linux:8::crbmingw-libpng, mingw32-libpng, mingw64-libpng and 4 more0:1.6.34-1.el8_10RHSA-2026:0125
Red Hatenterprise_linux:9::appstreamlibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.37-12.el9_7.1RHSA-2026:0238
Red Hatenterprise_linux:9::baseoslibpng, libpng-debuginfo, libpng-debugsource and 2 more2:1.6.37-12.el9_7.1RHSA-2026:0238
Red Hatenterprise_linux:10.1libpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.40-8.el10_1.1RHSA-2026:0237
Red Hatenterprise_linux_eus:10.0libpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.40-8.el10_0.1RHSA-2026:0212
Red Hathummingbird:1libpng, libpng-devel, libpng-tools and 1 more0:1.6.56-1.hum1RHSA-2026:6732
Red Hathummingbird:1libpng, libpng-devel, libpng-tools and 1 more0:1.6.58-2.1.hum1RHSA-2026:80330
Red Hatrhel_aus:8.2::baseoslibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.34-8.el8_2.1RHSA-2026:0323
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseoslibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.34-8.el8_4.1RHSA-2026:0321
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseoslibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.34-8.el8_6.1RHSA-2026:0322
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseoslibpng, libpng-devel, libpng-debuginfo and 3 more2:1.6.34-8.el8_8.1RHSA-2026:0313
8 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 15 morelibpng161.6.34-150000.3.12.1SUSE-SU-2025:4436-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7libpng161.6.40-150600.3.3.1SUSE-SU-2025:4494-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libpng161.6.8-15.12.1SUSE-SU-2026:0085-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libpng161.6.44-160000.3.1SUSE-SU-2026:20030-1
SUSELinux Micro 6.0libpng161.6.43-2.1SUSE-SU-2025:21217-1
SUSELinux Micro 6.0libpng161.6.58-1.1SUSE-SU-2026:23063-1
SUSELinux Micro 6.1libpng161.6.43-slfo.1.1_2.1SUSE-SU-2025:21220-1
SUSELinux Micro 6.1libpng161.6.58-slfo.1.1_1.1SUSE-SU-2026:23514-1
SUSELinux Micro 6.2libpng161.6.44-160000.3.1SUSE-SU-2026:20073-1
openSUSELeap 15.6libpng161.6.40-150600.3.3.1SUSE-SU-2025:4494-1
openSUSELeap 16.0libpng161.6.44-160000.3.1openSUSE-SU-2026:20017-1
openSUSETumbleweedlibpng161.6.52-1.1openSUSE-SU-2025:15801-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-9.el8_10ALSA-2026:0241
AlmaLinux8mingw32-libpng, mingw64-libpng, mingw32-libpng-static and 1 more1.6.34-1.el8_10ALSA-2026:0125
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.1ALSA-2026:0238
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.1ALSA-2026:0237
Rocky Linux8libpng2:1.6.34-9.el8_10RLSA-2026:0241
Rocky Linux8mingw-libpng0:1.6.34-1.el8_10RLSA-2026:0125
Rocky Linux9libpng2:1.6.37-12.el9_7.1RLSA-2026:0238
Rocky Linux10libpng2:1.6.40-8.el10_1.1RLSA-2026:0237
Alpinev3.20, v3.21, v3.22 and 2 morelibpng1.6.53-r0ALPINE-CVE-2025-66293
Azure Linux2fltkno fix listedAZL-71485
Azure Linux2gdalno fix listedAZL-71488
Azure Linux2libpng12no fix listedAZL-71491
Azure Linux2libpng15no fix listedAZL-71494
Azure Linux2openjpeg2no fix listedAZL-71497
Azure Linux2qt5-qtbase5.12.11-19AZL-71644
Azure Linux3fltkno fix listedAZL-71455
Azure Linux3gdalno fix listedAZL-71458
Azure Linux3libpng1.6.52-1AZL-71246
Azure Linux3libpng12no fix listedAZL-71461
Azure Linux3libpng15no fix listedAZL-71464
Azure Linux3openjpeg2no fix listedAZL-71467
1 more for Azure Linux in the JSON.
Alpaquita23, 25, streamlibpng1.6.53-r0BELL-CVE-2025-66293
BellSoft Hardened Containers23, 25, streamlibpng1.6.53-r0BELL-CVE-2025-66293

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 Important.

Red Hat's statement

The Red Hat Product Security team has rated this vulnerability as Important as it affects libpng, a widely used library for PNG image processing. The flaw is due to an out-of-bounds read in libpng’s simplified API when handling specially crafted PNG images containing partial transparency and gamma correction data. Successful exploitation could result in information disclosure or cause application crashes in applications processing untrusted PNG content.

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 8u492java-1.8.0-openjdk-portableFixed 2026-04-23RHSA-2026:9684
Red Hat Enterprise Linux 10libpng-2:1.6.40-8.el10_1.1Fixed 2026-01-07RHSA-2026:0237
Red Hat Enterprise Linux 10.0 Extended Update Supportlibpng-2:1.6.40-8.el10_0.1Fixed 2026-01-07RHSA-2026:0212
Red Hat Enterprise Linux 8mingw-libpng-0:1.6.34-1.el8_10Fixed 2026-01-06RHSA-2026:0125
Red Hat Enterprise Linux 8libpng-2:1.6.34-9.el8_10Fixed 2026-01-07RHSA-2026:0241
Red Hat Enterprise Linux 8.2 Advanced Update Supportlibpng-2:1.6.34-8.el8_2.1Fixed 2026-01-08RHSA-2026:0323
Red Hat build of OpenJDK 11 ELSjava-11-openjdkNot affected
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 Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10java-21-openjdkNot affected
Red Hat Enterprise Linux 10java-25-openjdkNot affected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 6libpngWill not fix
Red Hat Enterprise Linux 7firefoxNot affected
39 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-2025-66293.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

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

References

Check your stackJSON