# CVE-2026-55093: tract-nnef: integer overflow in NNEF \`.dat\` tensor parser yields an out-of-bounds read on model load

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **CWE:** CWE-125, CWE-190
- **Aliases:** GHSA-x5mv-8wgw-29hg, RUSTSEC-2026-0217
- **Published:** 2026-06-18T12:00:00.000Z
- **Modified:** 2026-10-12T18:00:14.308Z

## 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

## 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

- crates.io `tract-nnef`: affected \>= 0.23.0, \< 0.23.1; fixed 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)

## Mitigation

- Upgrade tract-nnef to one of 0.23.1, 0.22.2, 0.21.16 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg>
- vendor: <https://rustsec.org/advisories/RUSTSEC-2026-0217.html>
- patch: <https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8>
- patch: <https://github.com/sonos/tract/commit/828ec20f74c14c0923c7d7f0cff062ed222d630a>
- patch: <https://github.com/sonos/tract/commit/ee5f019d39fb97f7d4431b883c3ce97b74c28a64>
- other: <https://github.com/sonos/tract/releases/tag/0.21.16>
- other: <https://github.com/sonos/tract/releases/tag/0.22.2>
- other: <https://github.com/sonos/tract/releases/tag/v0.23.1>
- other: <https://github.com/sonos/tract>
- other: <https://crates.io/crates/tract-nnef>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55093>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-x5mv-8wgw-29hg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2026-0217> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55093> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55093>
