Skip to main content

Imager EUVDEUVD-2026-54561

| CVE-2026-19082 HIGH
Out-of-bounds Read (CWE-125)
2026-08-07 9b29abf9-4ab0-4765-b253-1875cd9b441e
7.5
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 JPEG/WEBP with zero-count ASCII EXIF entry
  2. Delivery
    Submit image to Imager-based upload endpoint
  3. Exploit
    Trigger signed-integer underflow in copy_string_tags()
  4. Execution
    strlen() over-reads adjacent heap bytes into exif_* tag
  5. Persist
    Application returns EXIF tag in API response
  6. Impact
    Attacker retrieves leaked heap contents

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 three concurrent conditions: the target application must call Imager->read() (or any wrapper that invokes EXIF parsing) on a JPEG or WEBP image supplied by the attacker; the Imager version in use must be between 0.45_02 and 1.033 inclusive; and the attacker must be able to observe the exif_* tag values returned by Imager, whether through an API response, log output, or another side channel. No authentication is required by the library itself (CVSS PR:N/UI:N) and no special server configuration beyond standard Imager usage is needed. Exploitation is not possible against PNG images, which do not follow the JPEG or WEBP EXIF parsing path. The primary limiting factor for information disclosure is whether the application surfaces EXIF tag data externally - if tags are silently discarded, the heap over-read occurs but the attacker cannot retrieve the leaked bytes.

Impact

The NVD CVSS 7.5 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) is consistent with the mechanics: an unauthenticated remote attacker supplies a crafted image to a network-facing service that processes it automatically, and the service leaks heap contents with no additional conditions. SSVC corroborates this with an automatable rating, a POC exploitation status, and partial technical impact - the partial rating acknowledges that what is leaked depends on heap layout at processing time and is not guaranteed to be high-value material. No EPSS data was provided; given the narrow applicability (Perl applications processing untrusted images), spontaneous mass exploitation is plausible but undemonstrated. The absence of a CISA KEV listing means active exploitation is not confirmed in the wild, reducing urgency compared to KEV-listed issues. The highest real-world risk sits with web services that accept image uploads and echo EXIF metadata back in API responses, where an attacker can both control the input and observe the output - making heap oracle attacks practical. Services that discard or never return EXIF tag values to callers reduce the disclosure risk to near zero even against a vulnerable Imager version.

Exploit ScenarioDerived

An attacker submits a crafted JPEG containing a zero-count ASCII EXIF Make entry (matching the exifattack.bin proof-of-concept) to a web application that processes uploads with Imager and returns EXIF metadata in its JSON response. The server-side call to Imager->read() triggers the strlen() over-read in copy_string_tags(), and the resulting exif_make tag field contains adjacent heap bytes - potentially including session tokens, TLS private key fragments, or other in-process data - which the API returns to the attacker in plaintext.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 07, 2026

Heap memory disclosure in Imager for Perl (versions 0.45_02 through < 1.034) exposes adjacent heap bytes to any application that processes attacker-supplied JPEG or WEBP images and surfaces EXIF tag values. The root cause is a signed integer underflow in copy_string_tags() that causes strlen() to scan past a zero-count ASCII EXIF entry, copying arbitrary heap contents into the exif_* tag returned to the caller. Publicly available exploit code exists (confirmed by the exifattack.bin fixture in the upstream patch commit), and SSVC rates exploitation as automatable; no CISA KEV listing indicates active mass exploitation has not yet been confirmed.

RemediationAI

Upgrade Imager to version 1.034 or later via CPAN (cpanm Imager or cpan -i Imager); this is the vendor-released patch and resolves the vulnerability for both JPEG and WEBP image paths including the Imager::File::WEBP distribution. The upstream commit implementing the fix is at https://github.com/tonycoz/imager/commit/24bde0427a113264d53f45a9c29ae756d84c82fe.patch and the full security advisory is at https://github.com/tonycoz/imager/security/advisories/GHSA-hx46-55wp-hv6m. If immediate patching is not possible, the most effective compensating control is stripping or sanitising EXIF data from untrusted images before passing them to Imager->read(), using an external utility such as ExifTool (exiftool -all= input.jpg) - this removes the malformed zero-count entry before it reaches the vulnerable code path; the trade-off is loss of legitimate EXIF metadata. A secondary control is to suppress or discard exif_* tag values returned by Imager before they reach API responses or logs, which prevents attacker retrieval of leaked bytes even if the over-read occurs internally; this does not eliminate the over-read but eliminates the disclosure channel. Restricting image upload endpoints to authenticated trusted users reduces network exposure but is insufficient as a sole mitigation if internal systems also process externally sourced images.

Affected VersionsENISA

Imager 0.45_02 <1.034

Affected Packages

euvd imager fix: 1.034

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The vulnerability resides in imexif.c within Imager's TIFF/EXIF parsing logic. The affected function copy_string_tags() computed an ASCII EXIF tag's usable length as entry->size - 1 to strip a trailing NUL. When a crafted EXIF entry carries a zero count, entry->size equals 0 and the subtraction yields -1 as a signed int. The downstream function i_tags_add() interprets -1 as a sentinel value requesting a strlen() call rather than an explicit byte count, causing it to scan from the entry's buffer start past the entry boundary into adjacent heap memory until the next NUL byte is found; those bytes are then copied into the tag string. CWE-125 (Out-of-bounds Read) precisely characterises this: the read operation crosses the allocated object's boundary. JPEG images reach this path via im_decode_exif(), and WEBP images reach it via the Imager::File::WEBP distribution, which delegates EXIF handling to the same core library. CPE: cpe:2.3:a:tonyc:imager:*:*:*:*:*:perl:*:* spanning versions 0.45_02 to 1.033 inclusive.

Know when the next one hits your stack

  • 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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Network-delivered crafted image; no auth or interaction needed; only confidentiality impacted via heap over-read leak.

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

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

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

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

Lifecycle Timeline

3
Patch available
Aug 07, 2026 - 19:02 EUVD
CVE Published
Aug 07, 2026 - 18:17 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 07, 2026 - 18:17 cve.org
HIGH 7.5

DescriptionCVE.org

Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via strlen() over-read from zero-count ASCII EXIF entries in copy_string_tags.

copy_string_tags() computes an ASCII EXIF tag's length as entry->size - 1 to strip the trailing NUL. A zero-count ASCII entry sets entry->size to 0, and the derived length reaches i_tags_add() as -1, which is interpreted as a request to call strlen(), scanning past the entry to the next NUL and copying those bytes into the tag. JPEG reaches this path via im_decode_exif(), as does the separate Imager::File::WEBP distribution, which is fixed by upgrading Imager.

Any caller of Imager->read() on an attacker-supplied image with such an entry may receive an exif_* tag holding adjacent heap bytes instead of an empty string.

Executive ViewAI

Why It Matters

Imager for Perl image processing component (versions 0.45_02-1.033) leaks sensitive server heap memory when processing crafted JPEG or WEBP files, potentially exposing credentials, secrets, or application state. Any Perl-based system processing external image uploads-web applications, content management platforms, media processing services-faces immediate information disclosure risk. Publicly available exploit code exists with highly automatable exploitation, creating urgent remediation requirements.

Business Impact: High
Compensating Controls

Apply vendor patch (Imager for Perl 1.034 or later). Interim: disable EXIF extraction where not required, restrict image processing to known-good file sources, and implement strict image file validation before processing.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
CPAN Perl image library, niche relative to mainstream web infrastructure
Data Quality
7 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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

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