CVEfocus › CVE database › CVE-2026-73639

CVE-2026-73639Imager::File::PNG versions from 1.003 before 1.004 for Perl write past the end of the…

CVSS 9.1 CriticalEPSS 0.7% (higher than 49% of CVEs)Published 2026-09-17Updated 2026-09-22Assigner: CPANSec

Imager::File::PNG versions from 1.003 before 1.004 for Perl write past the end of the row buffer reading a PNG with a tRNS transparency chunk in read_direct8. With a tRNS chunk, read_direct8() adds an alpha channel to the image it creates but still sizes the row buffer from the original channel count. libpng expands the transparency into that extra channel, so png_read_row() fills one channel more than the buffer holds, at one byte per sample, and writes width bytes past the end of the allocation. Palette images go to read_paletted() and 16-bit images to read_direct16(), which sizes its buffer from png_get_rowbytes() and allocates enough for the expanded row. The same reader ships bundled in the Imager distribution. Reading an attacker-supplied PNG through Imager->read() corrupts the heap, which can crash the process.

CWE-787

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libimager-perlFix pendingUBUNTU-CVE-2026-73639
Ubuntu 26.04libimager-perlUnder investigationUBUNTU-CVE-2026-73639
Ubuntu 24.04libimager-perlUnder investigationUBUNTU-CVE-2026-73639
Ubuntu 22.04libimager-perlUnder investigationUBUNTU-CVE-2026-73639
Ubuntu 20.04libimager-perlFix pendingUBUNTU-CVE-2026-73639
Ubuntu 18.04libimager-perlFix pendingUBUNTU-CVE-2026-73639
Ubuntu 16.04libimager-perlFix pendingUBUNTU-CVE-2026-73639
Debian 14libimager-perlFixed1.035+dfsg-1DEBIAN-CVE-2026-73639
Debian 13libimager-perlFix pendingDEBIAN-CVE-2026-73639
Debian 12libimager-perlFix pendingDEBIAN-CVE-2026-73639

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to Imager-File-PNG 1.004 or later, or to Imager 1.035 or later if the bundled copy is in use.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.