CVE-2026-55093
tract-nnef: integer overflow in NNEF `.dat` tensor parser yields an out-of-bounds read on model load
Also known as GHSA-x5mv-8wgw-29hg, RUSTSEC-2026-0217
Mitigation
- Upgrade tract-nnef to one of 0.23.1, 0.22.2, 0.21.16 (or later in the same release line).
Who should check
- Projects that depend on crates.io package tract-nnef (>= 0.23.0, < 0.23.1)
- Anyone running sonos tract < 0.21.16; >= 0.22.0, < 0.22.2; >= 0.23.0, < 0.23.1
Vulnerability facts
- Affected
- tract-nnef >= 0.23.0, < 0.23.1
- Fixed in
- 0.23.1, 0.22.2, 0.21.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-125, CWE-190
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io tract-nnef | >= 0.23.0, < 0.23.1 | 0.23.1, 0.22.2, 0.21.16 | osv |
| sonos tract | < 0.21.16; >= 0.22.0, < 0.22.2; >= 0.23.0, < 0.23.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-55093. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-55093.md Affected: tract-nnef >= 0.23.0, < 0.23.1 Fixed in: 0.23.1, 0.22.2, 0.21.16 Steps: 1. Search this machine and project for tract-nnef (crates.io), sonos tract: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-55093 being exploited?
There is no confirmed exploitation: CVE-2026-55093 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-55093?
Medium: CVSS 6.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-55093?
tract-nnef >= 0.23.0, < 0.23.1.
Is there a fix for CVE-2026-55093?
Yes. Fixed in 0.23.1, 0.22.2, 0.21.16. Upgrade tract-nnef to one of 0.23.1, 0.22.2, 0.21.16 (or later in the same release line).
How do I check if I'm affected by CVE-2026-55093?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.