Skip to main content
EPSS 0.7%top 48%

Libimager perl: 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… (CVE-2026-73639)

0
Critical
Published: 09/17/2026 (09/17/2026, 22:17:00 UTC)
Source: GCVE Database
Product: libimager-perl

Description

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.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=xenial
Affected versions
=1.003+dfsg-1=1.004+dfsg-1=1.004+dfsg-1build1
Ubuntu:18.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=bionic
Affected versions
=1.005+dfsg-2build1=1.006+dfsg-1
Ubuntu:20.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=focal
Affected versions
=1.011+dfsg-1=1.011+dfsg-1build1
Ubuntu:22.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=jammy
Affected versions
=1.012+dfsg-1build1=1.012+dfsg-2=1.012+dfsg-2build1
Ubuntu:24.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=noble
Affected versions
=1.019+dfsg-2=1.020+dfsg-1=1.022+dfsg-1=1.023+dfsg-1=1.023+dfsg-1build1=1.023+dfsg-1build2
Ubuntu:26.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=resolute
Affected versions
=1.027+dfsg-1=1.029+dfsg-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/25/2026, 01:59:17 UTC

Technical Analysis

Imager::File::PNG versions from 1.003 before 1.004 for Perl improperly handle PNG images with a tRNS transparency chunk in the read_direct8() function. The function adds an alpha channel but sizes the row buffer based on the original channel count, leading to a buffer overflow when libpng expands the transparency into the extra channel. This results in writing width bytes past the allocated buffer, causing heap corruption. The vulnerability affects the bundled PNG reader in the Imager distribution and can be triggered by processing attacker-supplied PNG images.

Potential Impact

An attacker can supply a specially crafted PNG image with a tRNS transparency chunk that triggers a heap buffer overflow in the vulnerable Imager::File::PNG versions. This overflow can corrupt the heap and cause the process to crash, leading to denial of service. The CVSS score of 9.1 indicates a critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality impact but no integrity impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor vendor communications for updates and avoid processing untrusted PNG images with affected versions until a fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-73639
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]

Threat ID: 6a870a94acd9273b49b5a50c

Added to database: 08/20/2026, 14:09:24 UTC

Last enriched: 09/25/2026, 01:59:17 UTC

Last updated: 10/04/2026, 18:53:18 UTC

Views: 61

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses