CPANSA-Imager-2026-102505: Imager vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-10-01T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-10-01T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 6.3 | Severity | Medium |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-102505
Vulnerability DescriptionImager 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.
| Weakness | CWE-131 : Incorrect Calculation of Buffer Size |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Imager less than 1.037 |
|
Fixed
- Imager greater than or equal 1.037
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Imager-2026-102505 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-imager-2026-102505.json - https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch external
https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch - https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp external
https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp - https://metacpan.org/release/TONYC/Imager-1.037/changes external
https://metacpan.org/release/TONYC/Imager-1.037/changes - http://www.openwall.com/lists/oss-security/2026/10/01/10 external
http://www.openwall.com/lists/oss-security/2026/10/01/10 - CVE-2026-102505 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-102505
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Thu Oct 1 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/