PT-2026-85563
CVE-2026-85670
·
Published
2026-09-04
·
Updated
2026-10-19
Description by
CVSS 4.0
7.1
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
tokenizers (Hugging Face) version 0.23.1
Description
An out-of-bounds buffer access exists in the
BpeBuilder::build() function within tokenizers/src/models/bpe/model.rs. When loading a tokenizer.json file using Tokenizer::from file or Tokenizer::from str, the builder allocates a scratch buffer based on the longest vocabulary key. If a merge rule's concatenated token exceeds this length, it overruns the buffer, causing a process panic and resulting in a denial of service. Additionally, a usize underflow can occur if continuing subword prefix is set and a merge token is shorter than the prefix, leading to a panic in debug mode or potential memory corruption in release mode.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾