Advisory

UBUNTU-CVE-2026-22801

Also known as: CVE-2026-22801

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.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions png_write_image_16bit and png_write_image_8bit causes heap buffer over-read when the caller provides a negative row stride (for bottom-up image layouts) or a stride exceeding 65535 bytes. The bug was introduced in libpng 1.6.26 (October 2016) by casts added to silence compiler warnings on 16-bit systems. This vulnerability is fixed in 1.6.54.

Severity

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

Dates

Published
2026-01-12 23:15 UTC
Modified
2026-05-20 16:24 UTC

Affected packages and fixes

libpng1.6

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

1.6.37-3ubuntu0.3

Fix

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

Fixed versions

1.6.43-5ubuntu0.3

Fix

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

Fixed versions

1.6.50-1ubuntu0.3

Fix

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

Affected

  • introduced 0, fixed 1.6.54-1 (ecosystem)

Fixed versions

1.6.54-1

Fix

  • Fixed version 1.6.54-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