Skip to main content
Public proof of conceptFix available

CVE-2025-66293

A public proof of concept exists; no exploitation attested.

  • Published2025-12-03
  • Fixed in1.6.52
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2025-12-0321:15CVE publishedNVD

Versions per branch

NVD
Libpng
BranchAffectedFixed in
1.6< 1.6.521.6.52

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • pnggroup libpng
    Affected
    • = < 1.6.52no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-12-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • fltkAzure Linux:3all versions · no fixed version listedand 5 other packages
  • fltkAzure Linux:2all versions · no fixed version listedand 4 other packages
  • java-1.8.0-openjdkAlmaLinux:9all versions · fixed in 1:1.8.0.492.b09-2.el9.alma.1and 16 other packages
  • java-1.8.0-openjdkAlmaLinux:8all versions · fixed in 1:1.8.0.492.b09-1.el8and 19 other packages
  • java-11-openjdkTuxCare:RHEL:7all versions · fixed in 1:11.0.31.0.11-1.el7_9.tuxcare.els1and 17 other packages
  • java-11-openjdkTuxCare:CentOS:7all versions · fixed in 1:11.0.31.0.11-1.el7_9.tuxcare.els1and 17 other packages
  • java-11-openjdkTuxCare:CentOS-Stream:8all versions · fixed in 1:11.0.31.0.11-1.el8.tuxcare.els1and 8 other packages
  • java-17-openjdkAlmaLinux:9all versions · fixed in 1:17.0.19.0.10-2.el9.alma.1and 22 other packages

110 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-66293 Red Hat Product Security534 products fixed · 4 known affected

    libpng: LIBPNG out-of-bounds read in png_image_read_composite

    libpng as a component of Red Hat Enterprise Linux 6 · libpng-devel as a component of Red Hat Enterprise Linux 6 · libpng-static as a component of Red Hat Enterprise Linux 6 · +1 more

  • RHSA-2026:80330 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:9690 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenJDK 21.0.11 Security Update for Portable Linux Builds

  • RHSA-2026:9684 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenJDK 8u492 Security Update for Portable Linux Builds

  • RHSA-2026:9687 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenJDK 17.0.19 Security Update for Portable Linux Builds

  • RHSA-2026:9255 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenJDK 11.0.31 ELS Security Update for Portable Linux Builds

24 more advisories

Full record on NVD

Fix

  1. Update Libpng to 1.6.52
  2. Vendor fix Red Hat Product Security RHSA-2026:80330 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
  3. Vendor fix Red Hat Product Security RHSA-2026:9690 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2026:4419 · 4 productsFor OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  5. Vendor fix Red Hat Product Security RHSA-2026:3861 · 1 productFor OpenShift Container Platform 4.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  6. Vendor fix Red Hat Product Security RHSA-2026:3415 · 1 productFor OpenShift Container Platform 4.13 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  7. Vendor fix Red Hat Product Security RHSA-2026:2974 · 4 productsFor OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionpoc2025-12-03
  • CNACVSS 3.17.1known since 2026-10-23
  • CNAweakness (CWE)CWE-125known since 2026-10-23
  • FIRST EPSSEPSS score0.4 %2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Published
2025-12-03
Last modified
2026-10-18
NVD status
Analyzed

Frequently asked questions

What is CVE-2025-66293?

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.

Is CVE-2025-66293 actively exploited?

A proof-of-concept exploit exists for CVE-2025-66293, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-66293?

CVE-2025-66293 has a CVSS v3 base score of 7.1 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.

Running libpng? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record