Skip to main content

CVE-2026-102504: CWE-789 Memory Allocation with Excessive Size Value

0
High
VulnerabilityCVE-2026-102504cvecve-2026-102504cwe-789cwe-190
Published: 10/01/2026 (10/01/2026, 13:11:38 UTC)
Source: CVE Database V5

Description

Imager versions before 1.037 for Perl exit the process reading a raw image with an out-of-range raw_datachannels value in i_readraw_wiol. Nothing range-checks raw_datachannels. The line buffer is sized as the image width times the channel count with no overflow check, so a negative or very large count requests an excessive allocation. When it fails, Imager's allocator calls exit(3). Passing an untrusted raw_datachannels value to Imager->read() triggers an uncatchable exit.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →cve
Imager
pkg:github/Imager
Affected versions
>=0 <1.037

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/01/2026, 15:17:27 UTC

Technical Analysis

The vulnerability in Imager versions prior to 1.037 arises from the lack of validation on the raw_datachannels parameter in the i_readraw_wiol function. This parameter controls the channel count used to size a line buffer as image width multiplied by channel count without overflow checks. An excessively large or negative raw_datachannels value causes a request for excessive memory allocation. Upon allocation failure, Imager's allocator calls exit(3), causing an immediate and uncatchable process termination when the raw_datachannels value is passed to Imager->read().

Potential Impact

An attacker supplying a crafted raw_datachannels value can cause the Perl process using Imager to exit abruptly. This results in a denial of service (DoS) condition due to uncatchable process termination. There is no indication of code execution or data corruption beyond process exit.

Mitigation Recommendations

No official patch or fix is currently documented. Users should avoid processing untrusted raw images with Imager versions before 1.037. Monitor vendor advisories for updates or patches addressing this issue. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-09-29T11:12:58.569Z
State
PUBLISHED

Threat ID: 6abe748aa43b0b3b89bd1c71

Added to database: 10/01/2026, 14:56:10 UTC

Last enriched: 10/01/2026, 15:17:27 UTC

Last updated: 10/01/2026, 23:12:16 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses