Actions
Bug #1212
closedNULL dereference in json2dcm
Start date:
2026-05-21
Due date:
% Done:
100%
Estimated time:
1:00 h
Module:
dcmdata
Operating System:
Compiler:
Description
DcmJSONReader::createElement() will de-reference a NULL pointer if a call to DcmItem::newDicomElementWithVR() fails because of incorrect error handling.
The bug can be reproduced by compiling DCMTK with -fsanitize=address,undefined and then calling
json2dcm ub-jsonrd-pixeldata-null.json out.dcm
Reported 2026-05-04 by Kaixuan.
Files
Actions