Advisory

UBUNTU-CVE-2025-64506

Also known as: CVE-2025-64506

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, a heap buffer over-read vulnerability exists in libpng's png_write_image_8bit function when processing 8-bit images through the simplified write API with convert_to_8bit enabled. The vulnerability affects 8-bit grayscale+alpha, RGB/RGBA, and images with incomplete row data. A conditional guard incorrectly allows 8-bit input to enter code expecting 16-bit input, causing reads up to 2 bytes beyond allocated buffer boundaries. This issue has been patched in version 1.6.51.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:L/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:09 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