{
  "cveId": "CVE-2026-47667",
  "url": "https://patchblox.com/security/cve/CVE-2026-47667",
  "summary": "CVE-2026-47667 is fixed in cimg on 1 platform by DEBIAN-CVE-2026-47667 (version 4.0.4\u002Bdfsg-1), released July 21, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "cimg: CImg Library is a C\u002B\u002B library for image processing",
  "description": "CImg Library is a C\u002B\u002B library for image processing. Prior to version 4.0.0 in \u0060_load_analyze()\u0060, the header_size field is read as an \u0060unsigned int\u0060 from the first 4 bytes of an Analyze/NIfTI file and passed directly to \u0060new unsigned char[header_size]\u0060 without being bounded against the actual file size. A value up to ~4 GB is accepted. If the subsequent \u0060fread\u0060 returns \u0060short\u0060  as it will for any malformed file), the function throws a \u0060CImgIOException\u0060 and the allocated buffer is never freed. A 6-byte crafted file is sufficient to trigger an allocation of ~1.3 GB per call, with the full allocation leaked on every error path. The issue is reachable via \u0060load_analyze()\u0060 and the generic \u0060load()\u0060 when the file extension is .hdr, .img, or .nii. Version 4.0.0 fixes the issue.",
  "published": "2026-07-21T20:17:01Z",
  "severity": "high",
  "cvss": 7.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00517,
  "epssPercentile": 0.44248,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "cimg",
      "release": "Debian 14",
      "fixedVersion": "4.0.4\u002Bdfsg-1",
      "fix": "DEBIAN-CVE-2026-47667",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-47667",
      "released": "2026-07-21T20:17:01Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}