CVEvulnerability
CVE-2026-102505
6.3 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-10-01
- Last modified
- 2026-10-08
- Assigner
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- 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 configurations
• tonycoz imager (< 1.037)
Related
Weakness · CWE (1)
- CWE-131 Incorrect Calculation of Buffer Size weakness
References
- https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch Patch
- https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp Mitigation, Vendor Advisory
- https://metacpan.org/release/TONYC/Imager-1.037/changes Release Notes
- http://www.openwall.com/lists/oss-security/2026/10/01/10 Mailing List, Third Party Advisory