Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/k2-fsa/sherpa-onnx/
- https://github.com/k2-fsa/sherpa-onnx/issues/3983
- https://github.com/k2-fsa/sherpa-onnx/issues/3983#issuecomment-5871985324
- https://vuldb.com/cve/CVE-2026-108954
- https://vuldb.com/submit/997824
- https://vuldb.com/vuln/416773
- https://vuldb.com/vuln/416773/cti
FAQ
What is CVE-2026-108954?
CVE-2026-108954 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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...
How severe is CVE-2026-108954?
CVE-2026-108954 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-108954?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.