{"id":"CVE-2026-55093","state":"PUBLISHED","title":"tract-nnef: integer overflow in NNEF `.dat` tensor parser yields an out-of-bounds read on model load","description":"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.","publishedAt":"2026-09-14T19:47:46.877Z","updatedAt":"2026-09-14T20:09:24.411Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["sonos tract"],"affected":[{"vendor":"sonos","product":"tract","versions":[{"version":"< 0.21.16","status":"affected"},{"version":">= 0.22.0, < 0.22.2","status":"affected"},{"version":">= 0.23.0, < 0.23.1","status":"affected"}]}],"references":["https://github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg","https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8","https://github.com/sonos/tract/commit/828ec20f74c14c0923c7d7f0cff062ed222d630a","https://github.com/sonos/tract/commit/ee5f019d39fb97f7d4431b883c3ce97b74c28a64","https://github.com/sonos/tract/releases/tag/0.21.16","https://github.com/sonos/tract/releases/tag/0.22.2","https://github.com/sonos/tract/releases/tag/v0.23.1"],"weaknesses":["CWE-125","CWE-190"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55093.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55093","state":"PUBLISHED","datePublished":"2026-09-14T19:47:46.877Z","dateUpdated":"2026-09-14T20:09:24.411Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-16T14:41:54.578Z"},"containers":{"cna":{"title":"tract-nnef: integer overflow in NNEF `.dat` tensor parser yields an out-of-bounds read on model load","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sonos","product":"tract","versions":[{"version":"< 0.21.16","status":"affected"},{"version":">= 0.22.0, < 0.22.2","status":"affected"},{"version":">= 0.23.0, < 0.23.1","status":"affected"}]}],"references":[{"url":"https://github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg","name":"https://github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8","name":"https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonos/tract/commit/828ec20f74c14c0923c7d7f0cff062ed222d630a","name":"https://github.com/sonos/tract/commit/828ec20f74c14c0923c7d7f0cff062ed222d630a","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonos/tract/commit/ee5f019d39fb97f7d4431b883c3ce97b74c28a64","name":"https://github.com/sonos/tract/commit/ee5f019d39fb97f7d4431b883c3ce97b74c28a64","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonos/tract/releases/tag/0.21.16","name":"https://github.com/sonos/tract/releases/tag/0.21.16","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonos/tract/releases/tag/0.22.2","name":"https://github.com/sonos/tract/releases/tag/0.22.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonos/tract/releases/tag/v0.23.1","name":"https://github.com/sonos/tract/releases/tag/v0.23.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190: Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-14T19:47:46.877Z"},"source":{"advisory":"GHSA-x5mv-8wgw-29hg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-14T20:09:04.689487Z","id":"CVE-2026-55093","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-14T20:09:24.411Z"}}]}}}