{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.0.1"
              },
              {
                "fixed": "3.0.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "96b9954fafcf3bd69a4ee2091b0d707ed2077697"
            }
          ],
          "repo": "https://github.com/nifti-imaging/nifti_clib",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111275.json"
  },
  "details": "nifti_clib through 3.0.1 contains a stack-based out-of-bounds read and write vulnerability in nifti_convert_n2hdr2nim() because the NIfTI-2 dim[0] value is never range-checked. Attackers can supply a crafted 540-byte NIfTI-2 header read via nifti_image_read() to crash applications or corrupt stack memory.",
  "id": "CVE-2026-111275",
  "modified": "2026-10-17T02:30:57.535377522Z",
  "published": "2026-10-15T21:43:21.786Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111275.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111275"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/nifti-clib-through-3.0.1-stack-out-of-bounds-access-via-nifti-convert-n2hdr2nim"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/NIFTI-Imaging/nifti_clib/issues/195"
    },
    {
      "type": "FIX",
      "url": "https://github.com/NIFTI-Imaging/nifti_clib/pull/197"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/NIFTI-Imaging/nifti_clib"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/NIFTI-Imaging/nifti_clib/blob/96b9954fafcf3bd69a4ee2091b0d707ed2077697/nifti2/nifti2_io.c#L4985-L5026"
    },
    {
      "type": "ARTICLE",
      "url": "https://hackmd.io/@haind-pwn/nifticlib-nifti2-dim0-oob"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "nifti_clib through 3.0.1 Stack Out-of-Bounds Access via nifti_convert_n2hdr2nim"
}