k2-fsa sherpa-onnx Offline Transducer Greedy Search Decoder offline-transducer-greedy-search-decoder.cc Decode buffer overflow
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 9
- sherpa-onnxaffected: 1.13.0CVE List
- sherpa-onnxaffected: 1.13.1CVE List
- sherpa-onnxaffected: 1.13.2CVE List
- sherpa-onnxaffected: 1.13.3CVE List
- sherpa-onnxaffected: 1.13.4CVE List
- sherpa-onnxaffected: 1.13.5CVE List
- sherpa-onnxaffected: 1.13.6CVE List
- sherpa-onnxaffected: 1.13.7CVE List
- sherpa-onnxaffected: 1.13.8CVE List
References 7
- vuldb.com/cve/CVE-2026-108954Advisoryvia CVE List
- vuldb.com/submit/997824Advisoryvia CVE List
- github.com/k2-fsa/sherpa-onnx/issues/3983Exploitvia CVE List
- vuldb.com/vuln/416773Referencevia CVE List
- vuldb.com/vuln/416773/ctiReferencevia CVE List
- github.com/k2-fsa/sherpa-onnx/issues/3983#issuecomment-5871985324Referencevia CVE List
- github.com/k2-fsa/sherpa-onnx/Referencevia CVE List