CVE & CISA-KEV Catalog

CVE-2025-64505

MEDIUM
6.1
CVSS v3
NVD

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.

How to fix

Remediation Available
iOSApple
Fixed in:18.7.7126793
Fixed in:26.4126792
macOS SequoiaApple
Fixed in:15.7.5126795
macOS SonomaApple
Fixed in:14.8.5126796
macOS TahoeApple
Fixed in:26.4126794
tvOSApple
Fixed in:26.4126797
visionOSApple
Fixed in:26.4126799
watchOSApple
Fixed in:26.4126798
libpng1.6Debian
Fixed in:1.6.37-3+deb11u1CVE-2025-64505
Fixed in:1.6.39-2+deb12u1CVE-2025-64505
Fixed in:1.6.48-1+deb13u1CVE-2025-64505
Fixed in:1.6.51-1CVE-2025-64505
libpngUbuntu
Fixed in:1.2.50-1ubuntu2.14.04.3+esm1USN-8081-1
Fixed in:1.2.54-1ubuntu1.1+esm2USN-8081-1
libpng1.6Ubuntu
Fixed in:1.6.20-2ubuntu0.1~esm2USN-7924-1
Fixed in:1.6.34-1ubuntu0.18.04.2+esm1USN-7924-1
Fixed in:1.6.37-2ubuntu0.1~esm1USN-7924-1
Fixed in:1.6.37-3ubuntu0.1USN-7924-1
Fixed in:1.6.43-5ubuntu0.1USN-7924-1
Fixed in:1.6.50-1ubuntu0.1USN-7924-1
libpng12-0Ubuntu
Fixed in:1.2.50-1ubuntu2.14.04.3+esm1USN-8081-1
Fixed in:1.2.54-1ubuntu1.1+esm2USN-8081-1
libpng16-16Ubuntu
Fixed in:1.6.20-2ubuntu0.1~esm2USN-7924-1
Fixed in:1.6.34-1ubuntu0.18.04.2+esm1USN-7924-1
Fixed in:1.6.37-2ubuntu0.1~esm1USN-7924-1
Fixed in:1.6.37-3ubuntu0.1USN-7924-1
libpng16-16t64Ubuntu
Fixed in:1.6.43-5ubuntu0.1USN-7924-1
Fixed in:1.6.50-1ubuntu0.1USN-7924-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Exploit Intelligence

0.18%probability of exploitation in 30 days
8thpercentile

Low risk: more likely to be exploited than 8% of all known CVEs.

References

Vendor Advisory1
Issue Tracking1

Related Vulnerabilities

Other CWE-125 (Out-of-bounds Read) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0160High7.5100%KEVFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2021-4034High7.895%KEVFix
CVE-2023-21769High7.592%-Fix
CVE-2023-49285High8.689%-Fix
CVE-2020-8794Critical9.889%-Fix
Embed a live status badge for CVE-2025-64505
CVE-2025-64505 severity badge

Markdown

[![CVE-2025-64505](https://tridentstack.com/cve/badge/CVE-2025-64505.svg)](https://tridentstack.com/cve/CVE-2025-64505)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-64505"><img src="https://tridentstack.com/cve/badge/CVE-2025-64505.svg" alt="CVE-2025-64505"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-26.