Skip to main content

Perl Imager EUVDEUVD-2026-82491

| CVE-2026-73638 MEDIUM
Out-of-bounds Read (CWE-125)
2026-09-17 9b29abf9-4ab0-4765-b253-1875cd9b441e
6.2
CVSS 3.1 · Vendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft TIFF with out-of-bounds IFD/entry offset
  2. Delivery
    Deliver image to app using Imager->read()
  3. Exploit
    tiff_load_ifd skips start-offset check
  4. Execution
    Read memory outside EXIF block
  5. Impact
    Leak adjacent bytes in EXIF tags or crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an application or service call Imager->read() (or equivalent) on an attacker-supplied TIFF/EXIF image using a vulnerable Imager version (0.45_02 through 1.032 exploitable via signed-int offset conversion on typical two's-complement builds; 1.033-1.034 exploitable only where size_t is 32-bit, and the IFD start-offset path additionally where unsigned long is 32-bit, which includes 64-bit Windows). No authentication or user interaction is required by the library itself (PR:N/UI:N), but exploitation is limited by whether the deployment actually feeds untrusted images to Imager and by the target platform's integer widths - on 64-bit non-Windows Unix builds the size_t/unsigned-long wraps do not occur, narrowing exposure to the signed-int path in versions ≤1.032.

Impact

This is a genuine but modest-priority memory-safety flaw, not an inflated high-CVSS issue. Signals are internally consistent on the low-to-moderate end: EPSS is 0.18% (7th percentile), not in CISA KEV, and no public exploit code exists - only crafted test fixtures (exifbadifdstart.bin) committed alongside the fix. The vendor CVSS 6.2 (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) scores availability-only, but this UNDERSTATES the flaw: the description explicitly says callers 'may receive EXIF tags holding bytes from outside the block,' which is out-of-bounds memory disclosure (a confidentiality impact the vendor vector marks C:N) - the tag 'Information Disclosure' supports this. Conflicting signal on attack vector: the vendor chose AV:L (local file), but Imager is a library whose canonical exploitation path is a service calling Imager->read() on an attacker-SUPPLIED image (e.g. an uploaded file), which is functionally network-reachable - verify AV with the actual deployment. The wrap-around analysis is architecture-dependent (signed-int through 1.032; size_t/unsigned-long only on 32-bit and 64-bit Windows), so real exploitability varies by platform. Net: real but low-urgency; patch on normal cadence.

Exploit ScenarioDerived

An attacker submits a specially crafted TIFF/EXIF image to an application or service that parses images with Imager->read() (e.g. an image-upload endpoint). The unchecked IFD start offset causes tiff_load_ifd() to read outside the EXIF block, returning adjacent process memory inside EXIF tag values or crashing the process. No public weaponized exploit exists - only proof fixtures included in the fix commit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

An out-of-bounds read in the Perl Imager image module (versions 0.45_02 through 1.034, including the 1.033/1.034 development releases) lets a crafted TIFF/EXIF file cause tiff_load_ifd() to accept an IFD entry whose start offset lies outside the EXIF block, so EXIF tags returned to the caller can contain bytes read from adjacent memory or the process can crash. Any application or service that calls Imager->read() on an attacker-supplied image is affected; no authentication or user interaction is required (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H per independent assessment), though real exposure depends on whether the deployment actually parses untrusted images and on the target platform's integer widths. There is no public exploit identified at time of analysis and EPSS is low at 0.18% (7th percentile), but a fixed release (Imager 1.035) and upstream commits are available, so patching is straightforward and low-risk.

RemediationAI

Apply the vendor fix by upgrading Imager to version 1.035 or later, which contains the corrected lower-bound checks in tiff_load_ifd(); the fixes are visible in upstream commits 48ba8ac0749f89466b6e6681fb88cbdb51086ebd and 6f1fd003a8e48c7e6e58b7019a04cc71bbfec2c3 (vendor-released patch: Imager 1.035 per the MetaCPAN changelog at https://metacpan.org/release/TONYC/Imager-1.035/changes, with details in GitHub advisory https://github.com/tonycoz/imager/security/advisories/GHSA-j47j-8w8p-3mmc and issue https://github.com/tonycoz/imager/issues/568). Because Imager is a library, patching requires rebuilding or updating the module in every consuming application and container image, not just a single service; Debian users should track https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1144226 for the packaged version. If immediate upgrade is not possible, the most effective compensating control is to prevent untrusted image data from reaching Imager->read(): reject or pre-process uploads with a hardened, separately sandboxed image validator (trade-off: added latency and a second parser that must itself be trusted), restrict uploads to formats you do not hand to Imager's TIFF/EXIF path if your workload allows it (trade-off: loss of TIFF support), or run any image-processing worker under a sandbox/seccomp profile with low privileges and memory limits so that an out-of-bounds read is contained and a crash is not a denial-of-service event for the whole service (trade-off: operational complexity and reduced throughput). Note that on 64-bit non-Windows Unix, pre-1.033 releases lack the size_t wrap, so the residual risk is concentrated in the signed-int path of versions up to 1.032 rather than being uniformly exploitable, but upgrading to 1.035 remains the correct fix across all platforms.

Affected ProductsAI

The affected component is the Perl Imager module (distribution Imager, maintained by TONYC), specifically versions 0.45_02 through 1.034; the vendor-fixed release is 1.035. Practically, versions up to and including 1.032 are exploitable through the signed-int offset conversion on typical two's-complement builds, while 1.033 and 1.034 are exploitable only where size_t is 32 bits, and the IFD start-offset path additionally only where unsigned long is 32 bits, which includes 64-bit Windows builds. No CPE strings were supplied in the intelligence feed, so product identification is based on the module name and the vendor advisory and changelog references. Any downstream Perl application, web service, batch image ingester, or thumbnail/attachment pipeline that embeds Imager and calls Imager->read() (or an equivalent EXIF-reading entry point) on untrusted TIFF/JPEG images inherits the exposure. Authoritative sources are the GitHub Security Advisory GHSA-j47j-8w8p-3mmc, issue tonycoz/imager#568, the Debian bug report 1144226, and the Imager 1.035 changelog on MetaCPAN.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Imager is a widely used pure-C/Perl image manipulation library, and the flaw sits in imexif.c's TIFF/EXIF parsing path (CWE-125, out-of-bounds read). tiff_load_ifd() validated each IFD entry by testing whether entry->offset + entry->size stayed inside the EXIF block, but never checked the start offset itself, so when the sum did not represent the true end of data the bounds test could pass while the entry began outside the block. The arithmetic is also width-dependent: through Imager 1.032 entry->offset was a plain int, so on typical two's-complement builds a high-bit-set offset converted to a negative value and the addition could land back inside the block; from 1.033 onward the field became size_t, and the wrap only occurs where size_t is 32 bits. The IFD's own start offset was validated the same way and wraps where unsigned long is 32 bits, which notably includes 64-bit Windows. On 64-bit non-Windows Unix builds these size_t/unsigned-long wraps do not occur, narrowing exposure there to the signed-int path in versions up to 1.032. The upstream fix in 1.035 adds explicit lower-bound checks (offset >= tiff->size) before the existing upper-bound test in both the IFD-start and entry paths, and ships regression fixtures (t/data/exifbadifdstart.bin, exifbadifdstart2.bin) plus test coverage.

Know when Perl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e) PRIMARY 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 8.2 HIGH

AV:N because the realistic vector is a service parsing attacker-uploaded images; C:L added for out-of-block memory returned in EXIF tags, A:H for the crash; no integrity impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).

CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Sep 22, 2026 - 19:22 NVD
6.2 (MEDIUM)
CVE Published
Sep 17, 2026 - 22:17 cve.org
MEDIUM 6.2
CVE Published
Sep 17, 2026 - 22:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
well-known Perl CPAN image library, but Perl has niche production footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy