Advisory

USN-7924-1

Also known as: CVE-2025-64505, CVE-2025-64506, CVE-2025-64720, CVE-2025-65018

Summary

libpng1.6 vulnerabilities

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)

Severity

Not rated by the source.

Dates

Published
2025-12-11 05:26 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

libpng1.6

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.6.37-3ubuntu0.1 (ecosystem)

Fixed versions

1.6.37-3ubuntu0.1

Fix

  • Fixed version 1.6.37-3ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libpng1.6

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.6.43-5ubuntu0.1 (ecosystem)

Fixed versions

1.6.43-5ubuntu0.1

Fix

  • Fixed version 1.6.43-5ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libpng1.6

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 1.6.50-1ubuntu0.1 (ecosystem)

Fixed versions

1.6.50-1ubuntu0.1

Fix

  • Fixed version 1.6.50-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences