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.
CVE-2026-102505
CVSS base score
6.3 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-131
Last modified
October 8, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Affected products
tonycoz imager
References
- github.com Patch
- github.com Mitigation, Vendor Advisory
- metacpan.org Release Notes
- www.openwall.com Mailing List, Third Party Advisory