USN-7924-1: libpng vulnerabilities
USN-7924-1: libpng vulnerabilities
Publication date: 11 December 2025
Overview: Several security issues were fixed in libpng.
Packages
libpng1.6 - PNG (Portable Network Graphics) file library
Details
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)
Update instructions
In general, a standard system update will make all the necessary changes.
The problem can be corrected by updating your system to the following package versions:
25.10 questing
- libpng16-16t64 – 1.6.50-1ubuntu0.1
25.04 plucky
- libpng16-16t64 – 1.6.47-1.1ubuntu0.1
24.04 LTS noble
- libpng16-16t64 – 1.6.43-5ubuntu0.1
22.04 LTS jammy
- libpng16-16 – 1.6.37-3ubuntu0.1
20.04 LTS focal
- libpng16-16 – 1.6.37-2ubuntu0.1~esm1
18.04 LTS bionic
- libpng16-16 – 1.6.34-1ubuntu0.18.04.2+esm1
16.04 LTS xenial
- libpng16-16 – 1.6.20-2ubuntu0.1~esm2

