Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-3713 EUVD-2026-10219GHSA-fgc7-hpwc-cmc9

pnggroup libpng pnm2png pnm2png.c do_pnm2png heap-based overflow

Published Mar 8, 2026 · Updated Mar 11, 2026 · Assigned by VulDB

Description

A flaw has been found in pnggroup libpng up to 1.6.55. Affected by this vulnerability is the function do_pnm2png of the file contrib/pngminus/pnm2png.c of the component pnm2png. This manipulation of the argument width/height causes heap-based buffer overflow. The attack is restricted to local execution. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Affected products

VendorProductAffectedFixed
pnggroup libpng 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.6.14, 1.6.15, 1.6.16, 1.6.17, 1.6.18, 1.6.19, 1.6.20, 1.6.21, 1.6.22, 1.6.23, 1.6.24, 1.6.25, 1.6.26, 1.6.27, 1.6.28, 1.6.29, 1.6.30, 1.6.31, 1.6.32, 1.6.33, 1.6.34, 1.6.35, 1.6.36, 1.6.37, 1.6.3… —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libpng1.6 No fix yet —
Debian 13 libpng1.6 No fix yet —
Debian 12 libpng1.6 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS libpng No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 libpng +3 1.6.56-1.hum1 RHSA-2026:6732

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libpng +4 No fix yet —
Azure Linux 2 (CBL-Mariner) libpng +3 No fix yet —

Advisories 2

References