CVE-2026-108954
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.
Weakness
- CWE-120: Buffer Copy without Checking Size of Input
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-10-14 |
Timeline
- 2026-10-13Published by the CNA01:30 UTC
- 2026-10-14CISA SSVC decision recorded1 day after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| k2-fsa sherpa-onnx | 1.13.0no fix listed1.13.1no fix listed1.13.2no fix listed1.13.3no fix listed1.13.4no fix listed(+4 more) | not listednot listednot listednot listednot listed |
References
- https://github.com/k2-fsa/sherpa-onnx/issues/3983
- https://github.com/k2-fsa/sherpa-onnx/
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-108954'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-108954'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-108954'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-108954'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).