{"id":"CVE-2026-111275","revision":"9afc226cf62f4fc0b438135daae514ab","records":[{"revision":"9afc226cf62f4fc0b438135daae514ab","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111275","aliases":[],"title":"nifti_clib through 3.0.1 Stack Out-of-Bounds Access via nifti_convert_n2hdr2nim","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.","state":0,"publishedAt":"2026-10-15T21:43:21.786+00:00","modifiedAt":"2026-10-21T01:37:40.421+00:00","affected":[{"ecosystem":"Vendor product","name":"nifti_clib","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"NIFTI-Imaging\",\n                    \"product\": \"nifti_clib\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"3.0.1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/NIFTI-Imaging/nifti_clib\",\n                    \"repo\": \"https://github.com/NIFTI-Imaging/nifti_clib\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"severity":"MEDIUM"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111275","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111275","identifiers":["CVE-2026-111275"]},"retained":false,"historicalAffected":[]}],"coverage":[]}