{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.037"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "20439b4add9cc0b20f4259c5d272678b57af4569"
            },
            {
              "fixed": "aae49c6be065aa467e834105c816359394a634db"
            }
          ],
          "repo": "https://github.com/tonycoz/imager",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4rx6-cgv3-fmxp"
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-131"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102505.json"
  },
  "details": "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.",
  "id": "CVE-2026-102505",
  "modified": "2026-10-05T02:31:09.776614943Z",
  "published": "2026-10-01T13:11:51.967Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/10/01/10"
    },
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102505.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/TONYC/Imager-1.037/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-102505"
    },
    {
      "type": "FIX",
      "url": "https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/tonycoz/imager"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Imager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp"
}