Skip to main content

CVE-2026-55093: CWE-125: Out-of-bounds Read in sonos tract

0
Medium
VulnerabilityCVE-2026-55093cvecve-2026-55093cwe-125cwe-190
Published: 09/14/2026 (09/14/2026, 19:47:46 UTC)
Source: CVE Database V5
Vendor/Project: sonos
Product: tract

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 v3.1

Score 6.1medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Affected software

sonos

tract

Affected versions
<0.21.16>=0.22.0 <0.22.2>=0.23.0 <0.23.1
crates.iomore threats →ai
github/sonos/tract
pkg:cargo/github/sonos/tract
Affected versions
<0.21.16>=0.22.0 <0.22.2>=0.23.0 <0.23.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 20:17:25 UTC

Technical Analysis

CVE-2026-55093 describes an out-of-bounds read in the tract toolkit's handling of tensor data. Specifically, unchecked usize multiplication in nnef/src/tensors.rs during tensor loading allows crafted NNEF archives to bypass size checks, resulting in as_slice_unchecked creating a larger logical slice than allocated. This leads to reading beyond the heap allocation, disclosing adjacent memory and potentially causing segmentation faults. The vulnerability affects dense numeric tensor paths but not bool, String, or block-quant paths. No code execution or out-of-bounds writes were demonstrated. Fixed in tract versions 0.21.16, 0.22.2, and 0.23.1.

Potential Impact

The vulnerability allows an attacker to read memory beyond allocated buffers, potentially disclosing adjacent data. It can also cause application crashes via segmentation faults. There is no evidence of code execution or memory corruption beyond read access. The impact is limited to confidentiality loss of adjacent memory and denial of service through crashes.

Mitigation Recommendations

This vulnerability is fixed in tract versions 0.21.16, 0.22.2, and 0.23.1. Users should upgrade to these or later versions to remediate the issue. No additional mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-16T14:41:54.578Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa852d655bf5e2cf589359e

Added to database: 09/14/2026, 20:02:30 UTC

Last enriched: 09/14/2026, 20:17:25 UTC

Last updated: 09/15/2026, 03:09:28 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses