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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111275.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "3.0.1"
},
{
"fixed": "3.0.1"
}
],
"source": [
"AFFECTED_FIELD",
"DESCRIPTION"
]
}