Skip to main content
No exploitation reportedFix available

CVE-2025-64505

No exploitation reported by the sources we read.

  • Published2025-11-25
  • Fixed in1.6.51
  • 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 version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51.

Timeline

dates in UTC
  1. 2025-11-2500:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-04 15:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-64505?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-64505?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Libpng
BranchAffectedFixed in
1.6< 1.6.511.6.51

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.51no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-11-24

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 4 other packages
  • fltkAzure Linux:2all versions · no fixed version listedand 3 other packages
  • libpngWolfiall versions · fixed in 1.6.51-r0
  • libpngUbuntu:Pro:16.04:LTSall versions · fixed in 1.2.54-1ubuntu1.1+esm2
  • libpngUbuntu:Pro:14.04:LTSall versions · fixed in 1.2.50-1ubuntu2.14.04.3+esm1
  • libpngTuxCare:OracleLinux:7all versions · fixed in 2:1.5.13-8.el7.tuxcare.els1and 2 other packages
  • libpngTuxCare:CentOS:7all versions · fixed in 2:1.5.13-8.el7.tuxcare.els1and 2 other packages
  • libpngTuxCare:AlmaLinux:9.6all versions · fixed in 2:1.6.37-12.el9.tuxcare.els1and 3 other packages

84 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2026:6732 Red Hat Product Security9 products fixed

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

Full record on NVD

Fix

  1. Update Libpng to 1.6.51
  2. Vendor fix Red Hat Product Security RHSA-2026:6732 · 9 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
  3. Workaround from the vendor Red Hat Product Security RHSA-2026:6732 · 9 productsMitigation 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.

Advisories and patches

Detection

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

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Published
2025-11-25
Last Modified
2026-10-18
NVD status
Analyzed
GitHub Advisory
GHSA-4952-h5wq-4m42

Frequently asked questions

What is CVE-2025-64505?

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51.

Is CVE-2025-64505 actively exploited?

Active exploitation of CVE-2025-64505 has not been confirmed. Its EPSS score was 0.2% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

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

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

Running Red Hat Hardened Images RPMs? 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 lookups · 250 API requests/month

Sources for this record