CVEfocus › CVE database › CVE-2026-73638

CVE-2026-73638Imager versions from 0.45_02 before 1.035 for Perl read outside the EXIF block via…

CVSS 6.2 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-09-17Updated 2026-09-22Assigner: CPANSec

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.

CWE-125

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-73638
Ubuntu 26.04libimager-perlUnder investigationUBUNTU-CVE-2026-73638
Ubuntu 24.04libimager-perlUnder investigationUBUNTU-CVE-2026-73638
Ubuntu 22.04libimager-perlUnder investigationUBUNTU-CVE-2026-73638
Ubuntu 20.04libimager-perlFix pendingUBUNTU-CVE-2026-73638
Ubuntu 18.04libimager-perlFix pendingUBUNTU-CVE-2026-73638
Ubuntu 16.04libimager-perlFix pendingUBUNTU-CVE-2026-73638
Debian 14libimager-perlFixed1.035+dfsg-1DEBIAN-CVE-2026-73638
Debian 13libimager-perlFix pendingDEBIAN-CVE-2026-73638
Debian 12libimager-perlFix pendingDEBIAN-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.

Solution: Upgrade to Imager 1.035 or later.

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.