Tract is a tiny, no-nonsense, self-contained TensorFlow and ONNX inference toolkit. Prior to 0.21.16, 0.22.2, and 0.23.1, tract-nnef uses unchecked usize multiplication in nnef/src/tensors.rs read_tensor for attacker-controlled tensor dimensions, the allocation size, and the reported tensor length. Loading a crafted NNEF archive through model_for_path or model_for_read reaches the default DatLoader and can make the wrapped size check accept a small allocation while data/src/tensor.rs as_slice_unchecked creates a much larger logical slice. Model construction through as_uniform can then read beyond the heap allocation and disclose adjacent data, and later access can terminate the process with a segmentation fault. The affected dense numeric tensor path does not include the independently guarded bool, String, or block-quant paths, and no out-of-bounds write or code execution was demonstrated. This issue is fixed in versions 0.21.16, 0.22.2, and 0.23.1.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-125",
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55093.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.21.16"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0.22.0"
},
{
"fixed": "0.22.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0.23.0"
},
{
"fixed": "0.23.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "34c7df2c9bd2a36583e09b52f3e6319bf23102e8"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "828ec20f74c14c0923c7d7f0cff062ed222d630a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "ee5f019d39fb97f7d4431b883c3ce97b74c28a64"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "0.21.16",
"range": [
{
"fixed": "2b3f2432a92dccbcdd3a6d1f856ab64252e9f5e9"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "0.22.2",
"range": [
{
"fixed": "19a2c2a748e033ef1924ecfd3981afcb44592c15"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v0.23.1",
"range": [
{
"fixed": "84b657a4023a45d639b95dcecf4df327c536d186"
}
],
"source": "REFERENCES_TAG"
}
]
}