{"id":"CVE-2026-102505","state":"PUBLISHED","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.","publishedAt":"2026-10-01T13:11:51.967Z","updatedAt":"2026-10-01T19:32:38.071Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"CPANSec","products":["Imager"],"affected":[{"packageName":"Imager","packageURL":"pkg:cpan/Imager","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.037","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Imager"],"programFiles":["image.c"],"programRoutines":[{"name":"i_gsampf_fp"}],"repo":"https://github.com/tonycoz/imager"}],"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","http://www.openwall.com/lists/oss-security/2026/10/01/10"],"weaknesses":["CWE-131"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/102xxx/CVE-2026-102505.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-102505","state":"PUBLISHED","datePublished":"2026-10-01T13:11:51.967Z","dateUpdated":"2026-10-01T19:32:38.071Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-09-29T11:14:01.536Z"},"containers":{"cna":{"title":"Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"Imager","packageURL":"pkg:cpan/Imager","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.037","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Imager"],"programFiles":["image.c"],"programRoutines":[{"name":"i_gsampf_fp"}],"repo":"https://github.com/tonycoz/imager"}],"references":[{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp","tags":["vendor-advisory"]},{"url":"https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch","tags":["patch"]},{"url":"https://metacpan.org/release/TONYC/Imager-1.037/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-131","description":"CWE-131 Incorrect Calculation of Buffer Size","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-10-01T13:11:51.967Z"},"solutions":[{"lang":"en","value":"Upgrade to Imager 1.037 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-09-30T00:00:00.000Z","value":"Version 1.037 released with fix."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/01/10"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-01T15:08:21.378Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-01T19:32:33.388785Z","id":"CVE-2026-102505","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-01T19:32:38.071Z"}}]}}}