tract-nnef: integer overflow in NNEF `.dat` tensor parser yields an out-of-bounds read on model load
Summary
| CVE | CVE-2026-55093 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-14 20:16:47 UTC |
| Updated | 2026-09-14 20:16:47 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS: 0.001990000 probability, percentile 0.098500000 (date 2026-09-15)
Problem Types: CWE-125 | CWE-190 | CWE-125 CWE-125: Out-of-bounds Read | CWE-190 CWE-190: Integer Overflow or Wraparound
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.1 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| 3.1 | CNA | DECLARED | 6.1 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8 | [email protected] | github.com | |
| github.com/sonos/tract/commit/828ec20f74c14c0923c7d7f0cff062ed222d630a | [email protected] | github.com | |
| github.com/sonos/tract/releases/tag/0.21.16 | [email protected] | github.com | |
| github.com/sonos/tract/releases/tag/0.22.2 | [email protected] | github.com | |
| github.com/sonos/tract/commit/ee5f019d39fb97f7d4431b883c3ce97b74c28a64 | [email protected] | github.com | |
| github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/sonos/tract/releases/tag/v0.23.1 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.