DCMTK through 3.7.0 contains a heap over-read vulnerability in ConcatenationLoader that copies pixel data frames without validating the PixelData buffer length against the declared NumberOfFrames. Attackers can craft malicious DICOM instances declaring more frames than the buffer contains to trigger heap over-reads that crash the application or leak adjacent heap memory.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97059.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.7.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "18379d5b8d234977cc30644e9e70d76d89c87285"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c33790827a192a598d20463af701a8b819f46ec1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97059.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"289492210527243314178166925438930166108",
"230624440118658002404361116468660179339",
"228034031201020498194628283711134944504",
"112920717038367009500685015467681586409",
"248495698305722053124680510178458612452",
"5158941973778823593372929181045086038",
"302308099130786695228917744177228841522",
"51817569771673758945283934246710868362",
"317277062379535233824269244025230799400",
"285121862485387245243233869721653791897",
"84621121444778717539034847797586769137",
"268962876903629021114022591147799844700",
"170512031856806126761734875255612641520",
"10650292992365956976440575027431912621",
"88674796550532749030393273149321494451",
"311720413931512944850753348840402931387",
"89326759249437410099783624161115327765",
"272374916719966565670689607584766215540",
"87666185120901301344799399805875634797",
"212074910256431628333618580438913833110",
"113754088806657171450324946193388819656",
"56610727439329006432762962520007802225",
"224409930432980272436934597133289783863"
],
"threshold": 0.9
},
"id": "CVE-2026-97059-0de0f415",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1",
"target": {
"file": "dcmfg/libsrc/concatenationloader.cc"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"189054512187754188500265921246954181666",
"37355028741168595404033283392914441623",
"68216638181973390636758541360100541353",
"295680123339862348835287464448119931779",
"55665165073794625829118000143215897691"
],
"threshold": 0.9
},
"id": "CVE-2026-97059-1104f786",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1",
"target": {
"file": "dcmiod/include/dcmtk/dcmiod/iodutil.h"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "313932792357932266299213235075968446283",
"length": 1382
},
"id": "CVE-2026-97059-111200df",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/18379d5b8d234977cc30644e9e70d76d89c87285",
"target": {
"file": "dcmfg/libsrc/concatenationloader.cc",
"function": "ConcatenationLoader::extractFrames"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"175421237151518130194930337078644155902",
"248700311908366036796816638311046079684",
"231773050952347372169018175388261732002",
"119115726292928995915424732389840435233"
],
"threshold": 0.9
},
"id": "CVE-2026-97059-16ff9c29",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/18379d5b8d234977cc30644e9e70d76d89c87285",
"target": {
"file": "dcmfg/tests/tests.cc"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "68758409079852840770650801104303969794",
"length": 460
},
"id": "CVE-2026-97059-18ed82f0",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/18379d5b8d234977cc30644e9e70d76d89c87285",
"target": {
"file": "dcmfg/libsrc/concatenationloader.cc",
"function": "ConcatenationLoader::extractBinaryFrames"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "199411693895837464749964238021075961398",
"length": 1325
},
"id": "CVE-2026-97059-4a4808f0",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1",
"target": {
"file": "dcmseg/libsrc/segdoc.cc",
"function": "DcmSegmentation::readPixelData"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"197555816138725945051474825314445511783",
"14315158308059081314620327930036921717",
"81483838159574820148840622963688140995",
"147055784919101753053813450836785975165",
"216968408098448563333228956476292547578",
"272724539119513591856579214308913173355"
],
"threshold": 0.9
},
"id": "CVE-2026-97059-61001226",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1",
"target": {
"file": "dcmseg/tests/tutils.cc"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "117808250900438243212786854904546350691",
"length": 505
},
"id": "CVE-2026-97059-693cba62",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/18379d5b8d234977cc30644e9e70d76d89c87285",
"target": {
"file": "dcmfg/libsrc/concatenationloader.cc",
"function": "ConcatenationLoader::computeBytesPerFrame"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "282952674674897685074231650188124464661",
"length": 1161
},
"id": "CVE-2026-97059-9fc72372",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1",
"target": {
"file": "dcmfg/libsrc/concatenationloader.cc",
"function": "ConcatenationLoader::extractBinaryFrames"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"71710132755663374887579546063364340407",
"298610517410357507503507833860951402764",
"199759772965501187734126588758576988209",
"320294275506493295468447304136896484064",
"227740234489249417576211054360206434249",
"123466870345042174474572581221366822775",
"166479527404694624625221227695682866445",
"172192014766490798623645269094684507015",
"111640668741375472372830421866970503025",
"334889320593356217246214249911838575854",
"13258310933401624744409991355862584628",
"132209086173582071968962309611022071993",
"99044631194986009915570035082444949199",
"267656130074676565372346750784084331075",
"18429032686408202716376903785323556867",
"211696742959624476313442935557371509121",
"20189606737363324487374450577907553203",
"228652176601273396697160850956380373750",
"98926860398982531264744838468869782500",
"327230153724944061118560741951231683297",
"150095601401120862921742953754875599571",
"40570807198286052339676937320886767204",
"257767470777445736125755220197954654593",
"175453302251506580406222554646853427099"
],
"threshold": 0.9
},
"id": "CVE-2026-97059-ba7b351b",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/18379d5b8d234977cc30644e9e70d76d89c87285",
"target": {
"file": "dcmfg/libsrc/concatenationloader.cc"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"70613568748420820768644879651071852396",
"99587376586778104982682620426086420374",
"40303627100164357341750126754538324523",
"131400857967491653988607447649877725669",
"170352994121776726989639610703633563200",
"96306764901920650675201507006615398810",
"41605182163716060150054023998539854742",
"29280370250874990048519857154304605821",
"304306985029766796410682534734429182721",
"248357387936342051553912542718578204379",
"311069119210870908443412714639717899872",
"263110744355587531588641254747934354107"
],
"threshold": 0.9
},
"id": "CVE-2026-97059-d5a05fcc",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1",
"target": {
"file": "dcmiod/libsrc/iodutil.cc"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"33870819926300791377827011560682341917",
"40403640893067945945052173741779364756",
"261728558658693671812207298411430985091",
"137297124346422509804618967520846307908",
"21196347966870225584751676961319684143",
"281044181964705370533682061399301387249",
"58395638584202594637577664756372830088",
"8135481889067952925988559828138125688"
],
"threshold": 0.9
},
"id": "CVE-2026-97059-dad80d72",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/18379d5b8d234977cc30644e9e70d76d89c87285",
"target": {
"file": "dcmfg/tests/t_concatenation_loader.cc"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"77750669833813791926616277891953778831",
"205601216290566461950220279991550713126",
"192605630930658553147904690774190786721",
"287199064607018099743692896705044121094"
],
"threshold": 0.9
},
"id": "CVE-2026-97059-f789ac10",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1",
"target": {
"file": "dcmseg/libsrc/segdoc.cc"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "205713040766523763858944728864375690418",
"length": 2001
},
"id": "CVE-2026-97059-fdb102f7",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/dcmtk/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1",
"target": {
"file": "dcmseg/tests/tutils.cc",
"function": "OFTEST"
}
}
]
"2026-10-28T11:21:53Z"