Vulnerability · Published Oct 1, 2026 · Assigned by CPANSec
CVE-2026-102505Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp
Medium 6.3
In plain English
A medium-severity security flaw in Imager. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libimager-perl | no fix listed | DEBIAN-CVE-2026-102505 |
| Debian:13 | libimager-perl | no fix listed | DEBIAN-CVE-2026-102505 |
| Debian:14 | libimager-perl | 1.037+dfsg-2 | DEBIAN-CVE-2026-102505 |
| Ubuntu:22.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-102505 |
| Ubuntu:24.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-102505 |
| Ubuntu:26.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-102505 |
| Ubuntu:26.10 | libimager-perl | no fix listed | UBUNTU-CVE-2026-102505 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Imager | 0 – before 1.037 |
Weakness: CWE-131 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp vendor-advisory
- https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch patch
- https://metacpan.org/release/TONYC/Imager-1.037/changes release-notes
- http://www.openwall.com/lists/oss-security/2026/10/01/10