SecurityContext

CVE-2025-64505: LIBPNG - Out of Bounds Read

  • Cve: CVE-2025-64505
  • Name: LIBPNG - Out of Bounds Read
  • 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.
  • Impact: Attackers can cause out-of-bounds memory access, potentially leading to application crashes or information disclosure.
  • Remediation: Update to version 1.6.51 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
  • Epss score: 0.00205
  • Epss percentile: 0.10358
  • Assignee: [email protected]
  • Published at: 2025-11-25T00:15:47Z
  • Age in days: 364
  • Modified at: 2026-10-18T20:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-64505
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37Patch
https://github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42Vendor Advisory
https://github.com/pnggroup/libpng/pull/748Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
libpng:libpng< 1.6.51nonvd/v1/products/libpng/libpng

Projects

RepositoryLink kindsIndexedUrl
pnggroup/libpngcommit, fix, pull, security_advisoryyes/v1/repositories/pnggroup/libpng

Index

  • Repositories: 2888
  • Repositories high signal: 1766
  • Checked, none or zero: packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts