CVE-2026-111275
CVE-2026-111275 · nifti_clib through 3.0.1 Stack Out-of-Bounds Access via nifti_convert_n2hdr2nim
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.9 · Medium · EPSS 0.2%
- Published
- Updated
Stack: system
Affected products and versions
nifti_clib
- Versions
- ≥ 0, ≤ 3.0.1: Affected (semver)
No fix published
nifticlib Ubuntu:16.04:LTS
- Versions
- 2.0.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nifticlib Ubuntu:18.04:LTS
- Versions
- 2.0.0-2
- 2.0.0-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nifticlib Ubuntu:20.04:LTS
- Versions
- 2.0.0-3
- 2.0.0-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nifticlib Ubuntu:22.04:LTS
- Versions
- 3.0.1-8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nifticlib Ubuntu:24.04:LTS
- Versions
- 3.0.1-9
- 3.0.1-9.1
- 3.0.1-9.1build1
- 3.0.1-9.1ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nifticlib Ubuntu:26.10
- Versions
- 3.0.1-9.1ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nifticlib Ubuntu:26.04:LTS
- Versions
- 3.0.1-9.1ubuntu2
- 3.0.1-9.1ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://hackmd.io/@haind-pwn/nifticlib-nifti2-dim0-oob
- https://github.com/NIFTI-Imaging/nifti_clib/issues/195
- https://github.com/NIFTI-Imaging/nifti_clib/pull/197
- https://github.com/NIFTI-Imaging/nifti_clib/blob/96b9954fafcf3bd69a4ee2091b0d707ed2077697/nifti2/nifti2_io.c#L4985-L5026
- https://github.com/NIFTI-Imaging/nifti_clib
- https://www.vulncheck.com/advisories/nifti-clib-through-3.0.1-stack-out-of-bounds-access-via-nifti-convert-n2hdr2nim
- https://hackmd.io/@haind-pwn/cve-2026-111275-nifticlib-nifti2-dim0-oob
- https://nvd.nist.gov/vuln/detail/CVE-2026-111275