Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft TIFF with out-of-bounds IFD/entry offset
-
DeliveryDeliver image to app using Imager->read()
-
Exploittiff_load_ifd skips start-offset check
-
ExecutionRead memory outside EXIF block
-
ImpactLeak 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).
CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Lifecycle Timeline
3DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand
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
The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated
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
Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers
EUVD-2026-82491
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB