CVE-2026-102505
6.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
0 < 1.037 | affected |
Weaknesses
- CWE-131: CWE-131 Incorrect Calculation of Buffer Size
ADP Enrichment
CVE Program Container
Additional References
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp
- https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch
- https://metacpan.org/release/TONYC/Imager-1.037/changes
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.