CVE-2026-93019: CWE-196 Unsigned to Signed Conversion Error
CVE-2026-93019 affects Imager for Perl versions before 1.036. The vulnerability arises from an unsigned to signed conversion error when reading TGA image files with a color map length of 32768 or more. This causes the process to exit unexpectedly and uncatchably when processing attacker-supplied files.
AI Analysis
Technical Summary
Imager versions prior to 1.036 for Perl contain a vulnerability in the TGA image reader where the two-byte color map length is unpacked into a signed short. If the color map length is 32768 or greater, the value becomes negative due to signed conversion. This negative value is then cast to size_t, resulting in a very large allocation request near SIZE_MAX. The allocation fails, triggering Imager's allocator to call exit(3), causing the process to terminate immediately. This exit is uncatchable when reading files via Imager->read(), allowing an attacker to cause a denial of service by supplying a crafted TGA file.
Potential Impact
An attacker can cause an immediate and uncatchable process exit (denial of service) by supplying a malicious TGA image file with a color map length of 32768 or more. This disrupts any application using vulnerable Imager versions to read such files. There is no indication of code execution or data corruption beyond process termination.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted TGA files with Imager versions before 1.036 to prevent denial of service.
CVE-2026-93019: CWE-196 Unsigned to Signed Conversion Error
Description
CVE-2026-93019 affects Imager for Perl versions before 1.036. The vulnerability arises from an unsigned to signed conversion error when reading TGA image files with a color map length of 32768 or more. This causes the process to exit unexpectedly and uncatchably when processing attacker-supplied files.
Affected software
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
Technical Analysis
Imager versions prior to 1.036 for Perl contain a vulnerability in the TGA image reader where the two-byte color map length is unpacked into a signed short. If the color map length is 32768 or greater, the value becomes negative due to signed conversion. This negative value is then cast to size_t, resulting in a very large allocation request near SIZE_MAX. The allocation fails, triggering Imager's allocator to call exit(3), causing the process to terminate immediately. This exit is uncatchable when reading files via Imager->read(), allowing an attacker to cause a denial of service by supplying a crafted TGA file.
Potential Impact
An attacker can cause an immediate and uncatchable process exit (denial of service) by supplying a malicious TGA image file with a color map length of 32768 or more. This disrupts any application using vulnerable Imager versions to read such files. There is no indication of code execution or data corruption beyond process termination.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted TGA files with Imager versions before 1.036 to prevent denial of service.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-09-17T14:56:50.796Z
- State
- PUBLISHED
Threat ID: 6aad449d55bf5e2cf517a92a
Added to database: 09/18/2026, 14:03:09 UTC
Last enriched: 09/18/2026, 14:16:43 UTC
Last updated: 09/18/2026, 15:24:04 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.