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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T12:00:00.000Z
- Modified: 2026-10-12T18:00:14.308Z
- Also known as: GHSA-x5mv-8wgw-29hg, RUSTSEC-2026-0217
- Weaknesses: CWE-125, CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- sonos tract: < 0.21.16; >= 0.22.0, < 0.22.2; >= 0.23.0, < 0.23.1
- tract-nnef (crates.io): from 0.23.0 before 0.23.1; from 0.22.0 before 0.22.2; before 0.21.16; from 0.0.0-0 before 0.21.16

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`

## References

- <https://github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg> (exploit, web)
- <https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8> (web)
- <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>
- <https://github.com/sonos/tract> (package)
- <https://crates.io/crates/tract-nnef> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0217.html> (advisory)

## Sources

- CVE List: [CVE-2026-55093](https://www.cve.org/CVERecord?id=CVE-2026-55093), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-x5mv-8wgw-29hg](https://github.com/advisories/GHSA-x5mv-8wgw-29hg), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2026-0217](https://rustsec.org/advisories/RUSTSEC-2026-0217.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2026-55093](https://nvd.nist.gov/vuln/detail/CVE-2026-55093), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-55093 · Whole record: https://cve.day/CVE-2026-55093.json · Rebuilt by cve.day 2026-11-25T22:59:38.364Z
