vulnerability
Ubuntu: USN-7924-1 (CVE-2025-64505): libpng vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 5 | (AV:L/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-64505
- https://attackerkb.com/topics/CVE-2025-64505
- CWE-125
- UBUNTU-USN-7924-1
- URL-https://github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37
- URL-https://github.com/pnggroup/libpng/pull/748
- URL-https://github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42
- URL-https://ubuntu.com/security/notices/USN-7924-1
- URL-https://www.cve.org/CVERecord?id=CVE-2025-64505
- 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.