CVE-2026-108954
A vulnerability was found in k2-fsa sherpa-onnx up to 1.13.8. This …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/k2-fsa/sherpa-onnx/
- github.com/k2-fsa/sherpa-onnx/issues/3983
- github.com/k2-fsa/sherpa-onnx/issues/3983#issuecomment-5871985324
- vuldb.com/cve/CVE-2026-108954
- vuldb.com/submit/997824
- vuldb.com/vuln/416773
- vuldb.com/vuln/416773/cti
- nvd.nist.gov/vuln/detail/CVE-2026-108954
- cve.org/CVERecord?id=CVE-2026-108954
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.