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.
Published: 2026-09-17
Score: 6.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information disclosure or crash via out‑of‑bounds read
Action: Patch
AI Analysis

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.

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

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 yet.

History

Tue, 22 Sep 2026 19:30:00 +0000

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'}


Fri, 18 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Tonycoz
Tonycoz imager
Vendors & Products Tonycoz
Tonycoz imager

Fri, 18 Sep 2026 01:30:00 +0000

Type Values Removed Values Added
References

Thu, 17 Sep 2026 21:30:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-09-22T18:28:03.781Z

Reserved: 2026-08-13T12:51:42.912Z

Link: CVE-2026-73638

cve-icon Vulnrichment

Updated: 2026-09-18T00:18:31.577Z

cve-icon NVD

Status : Deferred

Published: 2026-09-17T22:17:03.640

Modified: 2026-09-22T19:16:44.207

Link: CVE-2026-73638

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T21:00:16Z

Weaknesses