{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.037"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "20439b4add9cc0b20f4259c5d272678b57af4569"
            },
            {
              "fixed": "21b0df9eef1dffe1fdcd3706bfea9f1338031679"
            }
          ],
          "repo": "https://github.com/tonycoz/imager",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g549-r73g-x7x6"
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-190",
      "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102504.json"
  },
  "details": "Imager versions before 1.037 for Perl exit the process reading a raw image with an out-of-range raw_datachannels value in i_readraw_wiol.\n\nNothing range-checks raw_datachannels. The line buffer is sized as the image width times the channel count with no overflow check, so a negative or very large count requests an excessive allocation. When it fails, Imager's allocator calls exit(3).\n\nPassing an untrusted raw_datachannels value to Imager-\u003eread() triggers an uncatchable exit.",
  "id": "CVE-2026-102504",
  "modified": "2026-10-05T02:30:34.389786909Z",
  "published": "2026-10-01T13:11:38.558Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/10/01/9"
    },
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102504.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/TONYC/Imager-1.037/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-102504"
    },
    {
      "type": "FIX",
      "url": "https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/tonycoz/imager"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Imager versions before 1.037 for Perl exit the process reading a raw image with an out-of-range raw_datachannels value in i_readraw_wiol"
}