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.
References
| Link | Resource |
|---|---|
| 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 |
Configurations
History
08 Oct 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Tonycoz
Tonycoz imager |
|
| CPE | cpe:2.3:a:tonycoz:imager:*:*:*:*:*:perl:*:* | |
| References | () https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch - Patch | |
| References | () https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp - Mitigation, Vendor Advisory | |
| References | () https://metacpan.org/release/TONYC/Imager-1.037/changes - Release Notes | |
| References | () http://www.openwall.com/lists/oss-security/2026/10/01/10 - Mailing List, Third Party Advisory |
01 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.3 |
01 Oct 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
01 Oct 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-01 14:17
Updated : 2026-10-08 13:17
NVD link : CVE-2026-102505
Mitre link : CVE-2026-102505
CVE.ORG link : CVE-2026-102505
JSON object : View
Products Affected
tonycoz
- imager
CWE
CWE-131
Incorrect Calculation of Buffer Size
