---
id: CVE-2026-73638
title: >-
  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 E…
summary: >-
  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 E…
severity: medium
cvss: 6.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-125
product: Imager
affected:
  - Imager >= 0.45_02 < 1.035
published: '2026-09-17'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T19:16:44.207'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73638'
references:
  - url: 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1144226'
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: >-
      https://github.com/tonycoz/imager/commit/48ba8ac0749f89466b6e6681fb88cbdb51086ebd.patch
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: >-
      https://github.com/tonycoz/imager/commit/6f1fd003a8e48c7e6e58b7019a04cc71bbfec2c3.patch
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'https://github.com/tonycoz/imager/issues/568'
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'https://github.com/tonycoz/imager/security/advisories/GHSA-j47j-8w8p-3mmc'
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'https://metacpan.org/release/TONYC/Imager-1.035/changes'
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'http://www.openwall.com/lists/oss-security/2026/09/17/5'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
epss: 0.00186
epssPercentile: 0.07271
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-22T18:01:15.406420Z'
ingestedAt: '2026-09-17T21:29:17.000Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
