Integer overflow in Imager
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Imager | before 1.037 | 1.037 | Patch available | CNA |
- Imager Vendor— Affected before 1.037 Fixed in 1.037 Patch available CNA
Remediation
- Fix · CNA Imager Fixed in 1.037
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-102504
References
More Tonycoz Imager vulnerabilities
- TI-2026-12218 Imager versions before 1.033 for Perl treat unsigned EXIF IFD entry counts as signed CVSS 3.1CRITICAL 9.8
- TI-2026-65412 Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from… CVSS 3.1MEDIUM 6.3
- TI-2024-36077 The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to… CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-102504 · CVE Program
- CVE-2026-102504 · NVD
- FIRST EPSS
- CVE-2026-102504 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences