CVE-2026-55093: CWE-125: Out-of-bounds Read in sonos tract
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.
AI Analysis
Technical Summary
CVE-2026-55093 describes an out-of-bounds read in the tract toolkit's handling of tensor data. Specifically, unchecked usize multiplication in nnef/src/tensors.rs during tensor loading allows crafted NNEF archives to bypass size checks, resulting in as_slice_unchecked creating a larger logical slice than allocated. This leads to reading beyond the heap allocation, disclosing adjacent memory and potentially causing segmentation faults. The vulnerability affects dense numeric tensor paths but not bool, String, or block-quant paths. No code execution or out-of-bounds writes were demonstrated. Fixed in tract versions 0.21.16, 0.22.2, and 0.23.1.
Potential Impact
The vulnerability allows an attacker to read memory beyond allocated buffers, potentially disclosing adjacent data. It can also cause application crashes via segmentation faults. There is no evidence of code execution or memory corruption beyond read access. The impact is limited to confidentiality loss of adjacent memory and denial of service through crashes.
Mitigation Recommendations
This vulnerability is fixed in tract versions 0.21.16, 0.22.2, and 0.23.1. Users should upgrade to these or later versions to remediate the issue. No additional mitigations are indicated by the vendor advisory.
CVE-2026-55093: CWE-125: Out-of-bounds Read in sonos tract
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.
CVSS v3.1
Score 6.1medium
Affected software
sonos
tract
pkg:cargo/github/sonos/tractRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-55093 describes an out-of-bounds read in the tract toolkit's handling of tensor data. Specifically, unchecked usize multiplication in nnef/src/tensors.rs during tensor loading allows crafted NNEF archives to bypass size checks, resulting in as_slice_unchecked creating a larger logical slice than allocated. This leads to reading beyond the heap allocation, disclosing adjacent memory and potentially causing segmentation faults. The vulnerability affects dense numeric tensor paths but not bool, String, or block-quant paths. No code execution or out-of-bounds writes were demonstrated. Fixed in tract versions 0.21.16, 0.22.2, and 0.23.1.
Potential Impact
The vulnerability allows an attacker to read memory beyond allocated buffers, potentially disclosing adjacent data. It can also cause application crashes via segmentation faults. There is no evidence of code execution or memory corruption beyond read access. The impact is limited to confidentiality loss of adjacent memory and denial of service through crashes.
Mitigation Recommendations
This vulnerability is fixed in tract versions 0.21.16, 0.22.2, and 0.23.1. Users should upgrade to these or later versions to remediate the issue. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T14:41:54.578Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa852d655bf5e2cf589359e
Added to database: 09/14/2026, 20:02:30 UTC
Last enriched: 09/14/2026, 20:17:25 UTC
Last updated: 09/15/2026, 03:09:28 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.