{"id":"CVE-2026-55093","published":"2026-09-14T19:47:46Z","modified":"2026-09-14T20:09:24Z","title":"tract-nnef: integer overflow in NNEF `.dat` tensor parser yields an out-of-bounds read on model load","vendor":"sonos","product":"tract","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00181,"percentile":0.07869,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonos/tract/commit/828ec20f74c14c0923c7d7f0cff062ed222d630a","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonos/tract/commit/ee5f019d39fb97f7d4431b883c3ce97b74c28a64","tags":["x_refsource_MISC"]},{"url":"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","tags":["x_refsource_MISC"]},{"url":"https://github.com/sonos/tract/releases/tag/v0.23.1","tags":["x_refsource_MISC"]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":1.57},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"sonos","affectedVersions":[{"vendor":"sonos","product":"tract","versions":["< 0.21.16",">= 0.22.0, < 0.22.2",">= 0.23.0, < 0.23.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-14T20:09:04.689487Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"tract-nnef","vulnerableRanges":[">=0.23.0, <0.23.1",">=0.22.0, <0.22.2","<0.21.16",">=0.0.0-0, <0.21.16"],"patched":["0.23.1","0.22.2","0.21.16"],"from":["GHSA-x5mv-8wgw-29hg","RUSTSEC-2026-0217"],"provenance":"source"}],"summary":{"text":"The tract-nnef component of the Sonos tract inference toolkit contains an integer overflow in its NNEF .dat tensor parser, where unchecked multiplication of attacker-controlled tensor dimensions leads to an out-of-bounds read during model loading. An attacker who can supply a crafted NNEF archive that a user loads through the model-loading functions (model_for_path or model_for_read) can read adjacent heap memory and crash the process, and this requires local access and user interaction to load the malicious model.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:21Z"},"euvd":{"id":"EUVD-2026-77792","exploited":false,"provenance":"source"}}