{"id":17193,"date":"2026-09-05T02:30:51","date_gmt":"2026-09-04T18:30:51","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-85670"},"modified":"2026-09-05T02:30:51","modified_gmt":"2026-09-04T18:30:51","slug":"cve-2026-85670","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-85670","title":{"rendered":"CVE-2026-85670 [MEDIUM] &#8211; tokenizers (Hugging Face) is affected by an out-of-bounds buffer access in BpeBuilder::bui"},"content":{"rendered":"<p>tokenizers (Hugging Face) is affected by an out-of-bounds buffer access in BpeBuilder::build (tokenizers\/src\/models\/bpe\/model.rs). When loading a tokenizer.json via Tokenizer::from_file\/from_str, the builder sizes a scratch buffer to the longest vocabulary key, then writes each concatenated merge rule into it. A merge whose concatenated token exceeds the longest vocabulary key overruns the buffer, which Rust turns into a panic that aborts the process in Rust and FFI embeddings. This occurs at load time with no encoding required, so an attacker who supplies a crafted tokenizer.json can cause a denial of service. A secondary defect at the same location can cause a usize underflow (panic in debug, potential memory corruption in release) when continuing_subword_prefix is set and a merge token is shorter than the prefix. Observed in version 0.23.1.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>tokenizers (Hugging Face) is affected by an out-of-bounds buffer access in BpeBuilder::build (tokenizers\/src\/models\/bpe\/model.rs). When loading a tokenizer.json via Tokenizer::from_file\/from_str, the <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-17193","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/17193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}