CVE-2026-111275
nifti_clib through 3.0.1 Stack Out-of-Bounds Access via nifti_convert_n2hdr2nim
- State
- Published
- Severity
- 6.9 Medium
- Published
- Oct 15, 2026
- Updated
- Oct 21, 2026
- Reserved
- Oct 15, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 6.1 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
nifti_clibNIFTI-Imaging |
|
References
- https://hackmd.io/@haind-pwn/nifticlib-nifti2-dim0-oobtechnical-description
- https://github.com/NIFTI-Imaging/nifti_clib/issues/195issue-tracking
- https://github.com/NIFTI-Imaging/nifti_clib/pull/197issue-trackingpatch
- https://github.com/NIFTI-Imaging/nifti_clib/blob/96b9954fafcf3bd69a4ee2091b0d707ed2077697/nifti2/nifti2_io.c#L4985-L5026technical-description
- https://github.com/NIFTI-Imaging/nifti_clibproduct
- VulnCheck Advisory: nifti_clib through 3.0.1 Stack Out-of-Bounds Access via nifti_convert_n2hdr2nimthird-party-advisory
- https://hackmd.io/@haind-pwn/cve-2026-111275-nifticlib-nifti2-dim0-oobexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.