# CVE-2026-102504: 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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-10-01T13:11:38.558Z
- Modified: 2026-10-08T13:17:42.140Z
- Weaknesses: CWE-190, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Imager: before 1.037
- tonycoz imager: before 1.037

## References

- <https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6> (vendor-advisory)
- <https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch> (patch)
- <https://metacpan.org/release/TONYC/Imager-1.037/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/10/01/9> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-102504](https://www.cve.org/CVERecord?id=CVE-2026-102504), CVE Terms of Use, modified 2026-10-01
- NVD: [CVE-2026-102504](https://nvd.nist.gov/vuln/detail/CVE-2026-102504), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-102504 · Whole record: https://cve.day/CVE-2026-102504.json · Rebuilt by cve.day 2026-11-25T22:59:41.837Z
