nifti_clib vulnerability

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.

Published 15 Oct 2026Updated 21 Oct 20267 sources
CVSS 6.9

Record history

Record created from the first normalized source observation.
Metadata and source references refreshed.