Skip to main content
CVE-2025-64505VulnerabilityPublished Updated

Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when

Affects libpngSource GCVE Database

0
Compare
Authoritative record:CVE-2025-64505· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium · fixed in 1.2.50-1ubuntu2.14.04.3+esm1 : update libpng when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.1
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.2.50-1ubuntu2.14.04.3+esm1, 1.2.54-1ubuntu1.1+esm2, 1.6.20-2ubuntu0.1~esm2 +5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10libpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=questingOther threatsAffected
  • <1.6.50-1ubuntu0.1
Fixed in
  • 1.6.50-1ubuntu0.1
Ubuntu 24.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=nobleOther threatsAffected
  • <1.6.43-5ubuntu0.1
Fixed in
  • 1.6.43-5ubuntu0.1
Ubuntu 22.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=jammyOther threatsAffected
  • <1.6.37-3ubuntu0.1
Fixed in
  • 1.6.37-3ubuntu0.1
Ubuntu Pro 20.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1.6.37-2ubuntu0.1~esm1
Fixed in
  • 1.6.37-2ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSlibpng1.6pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.6.34-1ubuntu0.18.04.2+esm1
Fixed in
  • 1.6.34-1ubuntu0.18.04.2+esm1
Ubuntu Pro 16.04 LTSlibpngpkg:deb/ubuntu/libpng?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <1.2.54-1ubuntu1.1+esm2
Fixed in
  • 1.2.54-1ubuntu1.1+esm2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…