Description
A vulnerability was found in k2-fsa sherpa-onnx up to 1.13.8. 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. The attack can be launched remotely. The exploit has been made public and could be used. 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| k2-fsa | sherpa-onnx | 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.13.7, 1.13.8 | — |
References
- VDB-416773 | k2-fsa sherpa-onnx Offline Transducer Greedy Search Decoder offline-transducer-greedy-search-decoder.cc Decode buffer overflow vdb-entry technical-description
- VDB-416773 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-108954 | CVE Analysis and Report third-party-advisory
- Submit #997824 | k2-fsa sherpa-onnx up to 1.13.8 (master commit 040afe360a38e25daaa325ce8889abf93ea02609 also affected) Heap-based Buffer Overflow third-party-advisory
- https://github.com/k2-fsa/sherpa-onnx/issues/3983 exploit issue-tracking
- https://github.com/k2-fsa/sherpa-onnx/issues/3983#issuecomment-5871985324 issue-tracking
- https://github.com/k2-fsa/sherpa-onnx/ product