CVE & CISA-KEV Catalog

CVE-2025-64506

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. From version 1.6.0 to before 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_write_image_8bit function when processing 8-bit images through the simplified write API with convert_to_8bit enabled. The vulnerability affects 8-bit grayscale+alpha, RGB/RGBA, and images with incomplete row data. A conditional guard incorrectly allows 8-bit input to enter code expecting 16-bit input, causing reads up to 2 bytes beyond allocated buffer boundaries. This issue has been patched in version 1.6.51.

How to fix

Remediation Available
libpng1.6Debian
Fixed in:1.6.37-3+deb11u1CVE-2025-64506
Fixed in:1.6.39-2+deb12u1CVE-2025-64506
Fixed in:1.6.48-1+deb13u1CVE-2025-64506
Fixed in:1.6.51-1CVE-2025-64506
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
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.12%probability of exploitation in 30 days
2ndpercentile

Low risk: more likely to be exploited than 2% 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-64506
CVE-2025-64506 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2025-64506"><img src="https://tridentstack.com/cve/badge/CVE-2025-64506.svg" alt="CVE-2025-64506"></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.