CVE-2026-73638Imager versions from 0.45_02 before 1.035 for Perl read outside the EXIF block via…
Imager versions from 0.45_02 before 1.035 for Perl read outside the EXIF block via unchecked start offsets in tiff_load_ifd. tiff_load_ifd() validates an IFD entry's data by checking that `entry->offset + entry->size` stays within the EXIF block, and never checks the start offset itself. Where that sum is not the real end of the data, the check passes with the entry starting outside the block. Through 1.032 `entry->offset` is a plain int, so on the usual two's-complement implementations an offset with the high bit set converts to negative and the sum can land back inside the block. From 1.033 the field is a size_t and the addition wraps only where size_t is 32 bits. The IFD's own start offset is checked the same way and wraps where unsigned long is 32 bits, which includes 64-bit Windows. Any caller of Imager->read() on an attacker-supplied image may receive EXIF tags holding bytes from outside the block, or crash the process.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libimager-perl | Fix pending | UBUNTU-CVE-2026-73638 | |
| Ubuntu 26.04 | libimager-perl | Under investigation | UBUNTU-CVE-2026-73638 | |
| Ubuntu 24.04 | libimager-perl | Under investigation | UBUNTU-CVE-2026-73638 | |
| Ubuntu 22.04 | libimager-perl | Under investigation | UBUNTU-CVE-2026-73638 | |
| Ubuntu 20.04 | libimager-perl | Fix pending | UBUNTU-CVE-2026-73638 | |
| Ubuntu 18.04 | libimager-perl | Fix pending | UBUNTU-CVE-2026-73638 | |
| Ubuntu 16.04 | libimager-perl | Fix pending | UBUNTU-CVE-2026-73638 | |
| Debian 14 | libimager-perl | Fixed | 1.035+dfsg-1 | DEBIAN-CVE-2026-73638 |
| Debian 13 | libimager-perl | Fix pending | DEBIAN-CVE-2026-73638 | |
| Debian 12 | libimager-perl | Fix pending | DEBIAN-CVE-2026-73638 |
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.
- Imager: affected: 0.45_02 to before 1.035; fixed in
1.035
Solution: Upgrade to Imager 1.035 or later.
Vendor advisories:
- https://github.com/tonycoz/imager/security/advisories/GHSA-j47j-8w8p-3mmc (vendor-advisory)
- https://github.com/tonycoz/imager/commit/48ba8ac0749f89466b6e6681fb88cbdb51086ebd.patch (patch)
- https://github.com/tonycoz/imager/commit/6f1fd003a8e48c7e6e58b7019a04cc71bbfec2c3.patch (patch)
- https://metacpan.org/release/TONYC/Imager-1.035/changes (release-notes)
References
- https://github.com/tonycoz/imager/security/advisories/GHSA-j47j-8w8p-3mmc
- https://github.com/tonycoz/imager/commit/48ba8ac0749f89466b6e6681fb88cbdb51086ebd.patch
- https://github.com/tonycoz/imager/commit/6f1fd003a8e48c7e6e58b7019a04cc71bbfec2c3.patch
- https://github.com/tonycoz/imager/issues/568
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1144226
- https://metacpan.org/release/TONYC/Imager-1.035/changes
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.