vulnerability
Ubuntu: USN-7924-1 (CVE-2025-64720): libpng vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 8 | (AV:N/AC:M/Au:N/C:P/I:N/A:C) | Nov 25, 2025 | Dec 12, 2025 | Dec 15, 2025 |
Description
It was discovered that libpng incorrectly handled memory when processing
certain PNG files, which could result in an out-of-bounds memory access.
If a user or automated system were tricked into opening a specially
crafted PNG file, an attacker could use this issue to cause libpng to
crash, resulting in a denial of service. (CVE-2025-64505)
It was discovered that libpng incorrectly handled memory when processing
8-bit images through the simplified write API with 'convert_to_8bit'
enabled, which could result in an out-of-bounds memory access. If a user
or automated system were tricked into opening a specially crafted 8-bit
PNG file, an attacker could use this issue to cause libpng to crash,
resulting in a denial of service. (CVE-2025-64506)
It was discovered that libpng incorrectly handled memory when processing
palette images with 'PNG_FLAG_OPTIMIZE_ALPHA' enabled, which could result
in an out-of-bounds memory access. If a user or automated system were
tricked into opening a specially crafted PNG file, an attacker could use
this issue to cause libpng to crash, resulting in a denial of service.
(CVE-2025-64720)
It was discovered that libpng incorrectly handled memory when processing
6-bit interlaced PNGs with 8-bit output format, which could result in an
out-of-bounds memory access. If a user or automated system were tricked
into opening a specially crafted PNG file, an attacker could use this
issue to cause libpng to crash, resulting in a denial of service.
(CVE-2025-65018)
Solutions
References
- CVE-2025-64720
- https://attackerkb.com/topics/CVE-2025-64720
- CWE-125
- UBUNTU-USN-7924-1
- URL-https://github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643
- URL-https://github.com/pnggroup/libpng/issues/686
- URL-https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww
- URL-https://ubuntu.com/security/notices/USN-7924-1
- URL-https://www.cve.org/CVERecord?id=CVE-2025-64720
- URL-https://www.openwall.com/lists/oss-security/2025/11/22/1
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.