Advisory

DEBIAN-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 4.4, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-04-09 15:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

libpng1.6

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.6.39-2+deb12u5 (ecosystem)

Fixed versions

1.6.39-2+deb12u5

Fix

  • Fixed version 1.6.39-2+deb12u5
    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) · Debian 13

Affected

  • introduced 0, fixed 1.6.48-1+deb13u5 (ecosystem)

Fixed versions

1.6.48-1+deb13u5

Fix

  • Fixed version 1.6.48-1+deb13u5
    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) · Debian 14

Affected

  • introduced 0, fixed 1.6.57-1 (ecosystem)

Fixed versions

1.6.57-1

Fix

  • Fixed version 1.6.57-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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences