# CVE-2026-111275: nifti_clib through 3.0.1 Stack Out-of-Bounds Access via nifti_convert_n2hdr2nim

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T21:43:21.786Z
- Modified: 2026-10-21T02:17:05.303Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- NIFTI-Imaging nifti_clib: up to 3.0.1

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://hackmd.io/@haind-pwn/cve-2026-111275-nifticlib-nifti2-dim0-oob> (exploit)
- <https://hackmd.io/@haind-pwn/nifticlib-nifti2-dim0-oob> (technical-description)
- <https://github.com/NIFTI-Imaging/nifti_clib/issues/195> (issue-tracking)
- <https://github.com/NIFTI-Imaging/nifti_clib/pull/197> (issue-tracking, patch)
- <https://github.com/NIFTI-Imaging/nifti_clib/blob/96b9954fafcf3bd69a4ee2091b0d707ed2077697/nifti2/nifti2_io.c#L4985-L5026> (technical-description)
- <https://github.com/NIFTI-Imaging/nifti_clib> (product)
- <https://www.vulncheck.com/advisories/nifti-clib-through-3.0.1-stack-out-of-bounds-access-via-nifti-convert-n2hdr2nim> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-111275](https://www.cve.org/CVERecord?id=CVE-2026-111275), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-111275](https://nvd.nist.gov/vuln/detail/CVE-2026-111275), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-111275 · Whole record: https://cve.day/CVE-2026-111275.json · Rebuilt by cve.day 2026-11-25T22:59:44.976Z
