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.
Metrics
CVSS 3.1 6.3/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| — | — | < 1.037 |
References
- https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patchPatch
- https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxpMitigation, Vendor Advisory
- https://metacpan.org/release/TONYC/Imager-1.037/changesRelease Notes
- http://www.openwall.com/lists/oss-security/2026/10/01/10Mailing List, Third Party Advisory
Timeline
- Published
- Oct 1, 2026
- Last modified
- Oct 8, 2026
- NVD status
- Analyzed