{"api_version":"1","generated_at":"2026-10-01T20:24:44+00:00","cve":"CVE-2026-102505","urls":{"html":"https://cve.report/CVE-2026-102505","api":"https://cve.report/api/cve/CVE-2026-102505.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-102505","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102505"},"summary":{"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":"PUBLISHED","assigner":"CPANSec","published_at":"2026-10-01 14:17:20","updated_at":"2026-10-01 16:17:35"},"problem_types":["CWE-131","CWE-131 CWE-131 Incorrect Calculation of Buffer Size"],"metrics":[],"references":[{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp","name":"https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch","name":"https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/10/01/10","name":"http://www.openwall.com/lists/oss-security/2026/10/01/10","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/TONYC/Imager-1.037/changes","name":"https://metacpan.org/release/TONYC/Imager-1.037/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-102505","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102505","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[{"source":"CNA","time":"2026-09-30T00:00:00.000Z","lang":"en","value":"Version 1.037 released with fix."}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Imager 1.037 or later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-10-01T15:08:21.378Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/01/10"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Imager"],"packageName":"Imager","packageURL":"pkg:cpan/Imager","programFiles":["image.c"],"programRoutines":[{"name":"i_gsampf_fp"}],"repo":"https://github.com/tonycoz/imager","versions":[{"lessThan":"1.037","status":"affected","version":"0","versionType":"custom"}]}],"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-131","description":"CWE-131 Incorrect Calculation of Buffer Size","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-01T13:11:51.967Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp"},{"tags":["patch"],"url":"https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TONYC/Imager-1.037/changes"}],"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."}],"title":"Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-102505","datePublished":"2026-10-01T13:11:51.967Z","dateReserved":"2026-09-29T11:14:01.536Z","dateUpdated":"2026-10-01T15:08:21.378Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-01 14:17:20","lastModifiedDate":"2026-10-01 16:17:35","problem_types":["CWE-131","CWE-131 CWE-131 Incorrect Calculation of Buffer Size"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"102505","Ordinal":"1","Title":"Imager versions before 1.037 for Perl overflow a heap buffer fet","CVE":"CVE-2026-102505","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"102505","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Imager versions before 1.037 for Perl overflow a heap buffer fet"}]}}}