CVE-2026-55093
Received Received - Intake

Heap Buffer Overflow in Tract NNEF Parser

Vulnerability report for CVE-2026-55093, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-14

Last updated on: 2026-09-14

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-14
Last Modified
2026-09-14
Generated
2026-09-15
AI Q&A
2026-09-14
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sonos tract to 0.23.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an integer overflow in the Tract library's NNEF tensor parser that leads to an out-of-bounds read. Attackers can craft malicious NNEF models where tensor dimensions are manipulated to bypass size checks. The unchecked multiplication of dimensions allows the reported tensor length to wrap around to a small value while the actual size remains enormous, causing memory corruption when the tensor is accessed.

Detection Guidance

This vulnerability is specific to the Tract library's handling of NNEF files. Detection requires checking the installed version of tract-nnef. Run: `tract-nnef --version` or inspect your package manager for versions before 0.21.16, 0.22.2, or 0.23.1. If using a vulnerable version, update immediately.

Impact Analysis

This flaw could allow attackers to disclose sensitive memory data or crash applications via segmentation faults. It does not enable remote code execution but poses risks to confidentiality and availability for systems processing untrusted NNEF models. Users should update to patched versions to prevent exploitation.

Mitigation Strategies

Upgrade tract-nnef to versions 0.21.16, 0.22.2, or 0.23.1 or later. Avoid loading untrusted NNEF model files until patched. Monitor for crashes or memory corruption when processing NNEF files as these may indicate exploitation attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-55093. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart