🛡️ CVE-2025-64506 on Debian — libpng1.6
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.
Distribution advisory
This page covers CVE-2025-64506 as tracked by Debian, for the package libpng1.6. The fix is available in version 1.6.51-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability high.
Weakness class
DEBIAN-CVE-2025-64506 is classified as CWE-125: Out-of-bounds Read. The code reads past the limits of a buffer, exposing adjacent memory contents or crashing the process.
Affected software
DEBIAN-CVE-2025-64506 is recorded against 1 package.
- libpng1.6 (fixed in 1.6.51-1)
Timeline and source
Published on 25 November 2025 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2025-64506 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libpng1.6 | — | 1.6.51-1 |
References
Similar Threats
- Unknown DEBIAN-CVE-2026-40930
- Unknown DEBIAN-CVE-2026-34757
- Unknown DEBIAN-CVE-2026-33416
- Unknown DEBIAN-CVE-2026-33636
- Unknown DEBIAN-CVE-2026-3713
Vulnerability Monitoring
Track new vulnerabilities in libpng1.6
DEBIAN-CVE-2025-64506 is rated CVSS 6.1 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.