Advisory

UBUNTU-CVE-2025-64720

Also known as: CVE-2025-64720

Summary

The record has no summary.

Details

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From version 1.6.0 to before 1.6.51, an out-of-bounds read vulnerability exists in png_image_read_composite when processing palette images with PNG_FLAG_OPTIMIZE_ALPHA enabled. The palette compositing code in png_init_read_transformations incorrectly applies background compositing during premultiplication, violating the invariant component ≤ alpha × 257 required by the simplified PNG API. This issue has been patched in version 1.6.51.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Dates

Published
2025-11-25 00:15 UTC
Modified
2026-04-22 16:08 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