Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp
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
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-102505
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/tonycoz/imager",
"modules": [
"Imager"
],
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.037",
"versionType": "custom"
}
],
"packageURL": "pkg:cpan/Imager",
"packageName": "Imager",
"programFiles": [
"image.c"
],
"collectionURL": "https://cpan.org/modules",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "i_gsampf_fp"
}
]
}
]- Related CVEs
- CVE-2026-102505
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #7736 · Revision 1
- Added to Heist Feed
- Publisher date