CVE-2026-108954 | k2-fsa sherpa-onnx up to 1.13.8 Offline Transducer Greedy Search Decoder offline-transducer-greedy-search-decoder.cc Decode vocab_size buffer overflow (Issue 3983)
A vulnerability was found in k2-fsa sherpa-onnx up to 1.13.8. It has been declared as critical. This issue affects the function OfflineTransducerGreedySearchDecoder::Decode of the file sherpa-onnx/csrc/offline-transducer-greedy-search-decoder.cc of the component Offline Transducer Greedy Search Decoder. The manipulation of the argument vocab_size results in buffer overflow.
This vulnerability is reported as CVE-2026-108954. The attack can be launched remotely. Moreover, an exploit is present.
If only official model packs are used and they always keep metadata consistent with the joiner, the bug may not be reachable in normal supported usage. However, from a security and robustness standpoint, the code still contains the vulnerability because it trusts unvalidated model metadata and can be triggered by a malformed or tampered model pack.VulDB Recent EntriesRead More