Vulnerability · Published Oct 15, 2026 · Assigned by VulnCheck
CVE-2026-111275nifti_clib through 3.0.1 Stack Out-of-Bounds Access via nifti_convert_n2hdr2nim
Medium 6.1
In plain English
A medium-severity out-of-bounds write in nifti_clib from NIFTI-Imaging. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.2%top 90.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | nifticlib | no fix listed | UBUNTU-CVE-2026-111275 |
| Ubuntu:24.04:LTS | nifticlib | no fix listed | UBUNTU-CVE-2026-111275 |
| Ubuntu:26.04:LTS | nifticlib | no fix listed | UBUNTU-CVE-2026-111275 |
| Ubuntu:26.10 | nifticlib | no fix listed | UBUNTU-CVE-2026-111275 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NIFTI-Imaging | nifti_clib | 0 – through 3.0.1 |
Weakness: CWE-787 · Vector: 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/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
- VulnCheck Advisory: nifti_clib through 3.0.1 Stack Out-of-Bounds Access via nifti_convert_n2hdr2nim third-party-advisory
- https://hackmd.io/@haind-pwn/cve-2026-111275-nifticlib-nifti2-dim0-oob exploit