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 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.

Weakness CWE-131 : Incorrect Calculation of Buffer Size

Product status

Known affected
Product Score
Imager less than 1.037
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L 6.3 Medium
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

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/