Skip to content
NewA calmer, faster ZeroHour

Crafted DICOM crashes dcm2niix via out-of-bounds CSA header read

Original title: Security report: out-of-bounds read in dcm2niix CSA header parsing (crafted DICOM causes crash, CWE-125)

oss-security ()2
AI summary · x-ai/grok-4.7Summaries by Vani AI

A few-hundred-byte file triggers SIGSEGV in sanitizer and release builds with no special flags.

HeavenMonkey reported an out-of-bounds read in dcm2niix Siemens CSA header parsing. A crafted DICOM of a few hundred bytes deterministically crashes the tool with SIGSEGV when opened as dcm2niix file.dcm. The reporter points to CSA item-parsing loops in console/nii_dicom.cpp. The available post is cut off before naming a fix, CVE, or affected versions.

Unconfirmed: The mailing-list post is truncated, so any fix and impact beyond a crash are unknown.

Key facts
  • The crash occurs in both sanitizer and release builds.
  • The reporter classifies the bug as CWE-125.
  • No fixed version or CVE appears in the available text.
Security assessment · AI, from the article

Impact: out-of-bounds read that crashes dcm2niix

ProductAffected
dcm2niix—
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

Posted by HeavenMonkey on Nov 17 Hi Chris, I would like to report a security issue in dcm2niix's Siemens CSA header parsing. Short version: a crafted DICOM file of a few hundred bytes causes a deterministic out-of-bounds read that crashes dcm2niix with SIGSEGV, in both sanitizer and release builds. No special flags are needed - `dcm2niix file.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.