CVE-2026-55093
Published:June 18, 2026
Updated:August 27, 2026
"read_tensor" builds a tensor "shape" from attacker-controlled 32-bit dimensions and computes the element count "len = product(shape)" and the byte allocation "product(shape) * size_of(dt)" with unchecked "usize" arithmetic. In "--release" (no "overflow-checks"), both products wrap modulo 2^64. An attacker chooses dimensions so that the wrapped products collapse to a small value that satisfies the header consistency check, while the true element count remains astronomically large. "read_tensor" returns "Ok" with a "Tensor" whose reported "len" (e.g. 2^61+7) is far larger than its backing heap allocation (e.g. 56 bytes). The unchecked slice accessor "as_slice_unchecked" ("from_raw_parts(ptr, self.len)") then produces a slice spanning ~18 exabytes over a 56-byte buffer. The out-of-bounds read fires automatically during model build (no inference required), reachable through the default "DatLoader" resource loader.
Affected Packages
tract-nnef (RUST):
Affected version(s) >=0.10.2 <0.21.16Fix Suggestion:
Update to version 0.21.16tract-nnef (RUST):
Affected version(s) >=0.23.0 <0.23.1Fix Suggestion:
Update to version 0.23.1tract-nnef (RUST):
Affected version(s) >=0.22.0 <0.22.2Fix Suggestion:
Update to version 0.22.2Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
HIGH