What’s Vulnerable › Vulnerabilities
CVE-2026-102505: Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp
- Severity: medium (CVSS 6.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-01 · updated 2026-10-08
- Weakness: CWE-131
Description
Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp. For a paletted image, getsamples() with type "float" allocates a buffer of one sample per pixel and fetches every requested channel of each pixel into it. Requesting more than one channel writes past its end. An attacker-supplied image controls the overflowing bytes through its palette.
Affected products
- TONYC Imager: before 1.037 — fixed in 1.037
How to fix
Upgrade to a fixed version: TONYC Imager 1.037. Check the vendor advisory for mitigations.
References
- https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch
- https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp
- https://metacpan.org/release/TONYC/Imager-1.037/changes
- http://www.openwall.com/lists/oss-security/2026/10/01/10
Get alerted when CVE-2026-102505 or the next vulnerability affects your stack