{"id":"CVE-2026-102505","revision":"e3806676fbf44a2aa663a2079bde346a","records":[{"revision":"e3806676fbf44a2aa663a2079bde346a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-102505","aliases":[],"title":"Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp","description":"Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp.\n\nFor 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.\n\nAn attacker-supplied image controls the overflowing bytes through its palette.","state":0,"publishedAt":"2026-10-01T13:11:51.967+00:00","modifiedAt":"2026-10-01T19:32:38.071+00:00","affected":[{"ecosystem":"https://cpan.org/modules","name":"Imager","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://cpan.org/modules\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"Imager\"\n                    ],\n                    \"packageName\": \"Imager\",\n                    \"packageURL\": \"pkg:cpan/Imager\",\n                    \"programFiles\": [\n                        \"image.c\"\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"i_gsampf_fp\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/tonycoz/imager\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"1.037\",\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"versionType\": \"custom\"\n                        }\n                    ]\n                }"}],"metrics":[],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-102505","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-102505","identifiers":["CVE-2026-102505"]},"retained":false,"historicalAffected":[]}],"coverage":[]}