CVE-2026-111275
nifti_clib through 3.0.1 contains a stack-based out-of-bounds read …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/NIFTI-Imaging/nifti_clib
- github.com/NIFTI-Imaging/nifti_clib/blob/96b9954fafcf3bd69a4ee2091b0d707ed2077697/nifti2/n
- github.com/NIFTI-Imaging/nifti_clib/issues/195
- github.com/NIFTI-Imaging/nifti_clib/pull/197
- hackmd.io/@haind-pwn/nifticlib-nifti2-dim0-oob
- www.vulncheck.com/advisories/nifti-clib-through-3.0.1-stack-out-of-bounds-access-via-nifti
- hackmd.io/@haind-pwn/cve-2026-111275-nifticlib-nifti2-dim0-oob
- nvd.nist.gov/vuln/detail/CVE-2026-111275
- cve.org/CVERecord?id=CVE-2026-111275
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.