Advisory

UBUNTU-CVE-2026-34757

Also known as: CVE-2026-34757

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 1.0.9 to before 1.6.57, passing a pointer obtained from png_get_PLTE, png_get_tRNS, or png_get_hIST back into the corresponding setter on the same png_struct/png_info pair causes the setter to read from freed memory and copy its contents into the replacement buffer. The setter frees the internal buffer before copying from the caller-supplied pointer, which now dangles. The freed region may contain stale data (producing silently corrupted chunk metadata) or data from subsequent heap allocations (leaking unrelated heap contents into the chunk struct). This vulnerability is fixed in 1.6.57.

Severity

Medium Basis: CVSS v3 score 5.1, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-04-09 15:16 UTC
Modified
2026-08-18 22:15 UTC

Affected packages and fixes

libpng1.6

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

1.6.37-3ubuntu0.5

Fix

  • Fixed version 1.6.37-3ubuntu0.5
    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.6 (ecosystem)

Fixed versions

1.6.43-5ubuntu0.6

Fix

  • Fixed version 1.6.43-5ubuntu0.6
    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.5 (ecosystem)

Fixed versions

1.6.50-1ubuntu0.5

Fix

  • Fixed version 1.6.50-1ubuntu0.5
    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