Heap Buffer Over-read Vulnerability in Libpng Affects Multiple Image Formats
CVE-2025-64506
What is CVE-2025-64506?
Libpng, a library for processing PNG images, has a heap buffer over-read vulnerability in its png_write_image_8bit function when handling 8-bit images through the simplified write API with convert_to_8bit enabled. This vulnerability impacts images that are 8-bit grayscale with alpha channels, RGB/RGBA images, and those with incomplete row data. A flawed conditional guard allows 8-bit inputs to be processed by code designed for 16-bit inputs, leading to the potential reading of data from beyond allocated buffer boundaries. Users are recommended to update to version 1.6.51 or later to mitigate this risk.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
libpng >= 1.6.0, < 1.6.51
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
