# CVE-2026-73638: Imager versions from 0.45_02 before 1.035 for Perl read outside the EXIF block via unchecked start offsets in tiff_load_ifd

- Severity: Medium 6.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-09-17T21:18:51.046Z
- Modified: 2026-09-22T19:16:44.207Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- Imager: from 0.45_02 before 1.035

## References

- <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://github.com/tonycoz/imager/issues/568> (issue-tracking)
- <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1144226> (issue-tracking)
- <https://metacpan.org/release/TONYC/Imager-1.035/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/09/17/5>

## Sources

- CVE List: [CVE-2026-73638](https://www.cve.org/CVERecord?id=CVE-2026-73638), CVE Terms of Use, modified 2026-09-22
- NVD: [CVE-2026-73638](https://nvd.nist.gov/vuln/detail/CVE-2026-73638), Public domain, modified 2026-09-22

---

Page: https://cve.day/CVE-2026-73638 · Whole record: https://cve.day/CVE-2026-73638.json · Rebuilt by cve.day 2026-11-25T22:59:39.536Z
