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

Published Sep 17, 2026 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in the Imager Perl module allows a reader function to access data beyond the bounds of the EXIF block because the start offset of an IFD entry is unchecked. This can result in bytes from outside the intended area being returned to the caller, potentially exposing sensitive data or causing a crash when the process attempts to read invalid memory. The weakness is an instance of out‑of‑bounds read (CWE‑125).

Affected Systems

Perl Imager implementations from version 0.45_02 up to, but not including, 1.035 are affected. Versions prior to 1.035 store the start offset as a signed integer, while versions 1.033 and later use unsigned types that still permit wrapping on 32‑bit platforms, allowing the flaw to persist until the upgrade to 1.035. The affected module is used in Perl applications that process image files via Imager->read().

Risk and Exploitability

The CVSS score of 6.2 indicates a moderate severity, and the EPSS score is less than 1% while the vulnerability is not listed in the CISA KEV catalog. The vulnerability could be targeted through any component that accepts user‑supplied image data. An attacker can craft an image whose EXIF block contains entries that read from outside the block, enabling the extraction of unintended bytes or subjecting the host to a crash. The exploit is relatively straightforward once a vulnerable version is in use and does not require additional privileges, making it a low‑effort risk for affected deployments.

Remediation

Vendor Solution

Upgrade to Imager 1.035 or later.


OpenCVE Recommended Actions

  • Upgrade to Imager 1.035 or later.
  • If an upgrade is not immediately possible, restrict the exposure by isolating image processing in a sandbox or disabling EXIF handling where feasible.
  • After any change, monitor the application for abnormal crashes or unexpected data reads to confirm mitigation success.

Generated by OpenCVE AI on September 22, 2026 at 20:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Tonycoz
Tonycoz imager
Vendors & Products Tonycoz
Tonycoz imager
Type Values Removed Values Added
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.
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
Weaknesses CWE-125
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Sep 22, 2026, 6:28 PM
Reserved
Aug 13, 2026, 12:51 PM
Status
Deferred
Published
Sep 17, 2026, 10:17 PM
Modified
Sep 22, 2026, 7:16 PM