CVE-2026-73639 json
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
published 2mo ago modified last mo. also EUVD-2026-82492 , GHSA-jhx5-34j8-9g88
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository tonycoz/imager. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- tonycoz imager 1.035
- libimager-perl Debian 14 1.035+dfsg-1
debian advisories DEBIAN-CVE-2026-73639
- github.com/tonycoz/imager@d973bd7 commit
- github.com/tonycoz/imager#567 pull request
Is CVE-2026-73639 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/tonycoz/imager/commit/d973bd7e8843f084e8071caa24b89545c88b1e4b.patch
patch
-
github.com
/tonycoz/imager/pull/567
issue-tracking
-
github.com
/tonycoz/imager/security/advisories/GHSA-jhx5-34j8-9g88
vendor-advisory, advisory
-
metacpan.org
/release/TONYC/Imager-File-PNG-1.004/changes
release-notes
-
metacpan.org
/release/TONYC/Imager-1.035/changes
release-notes
- openwall.com /lists/oss-security/2026/09/17/6
Sources
- CVE List CVE-2026-73639
- NVD CVE-2026-73639
- Maintainer advisory GHSA-jhx5-34j8-9g88
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of tonycoz/imager published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.