{"id":"CVE-2026-108954","state":"PUBLISHED","title":"k2-fsa sherpa-onnx Offline Transducer Greedy Search Decoder offline-transducer-greedy-search-decoder.cc Decode buffer overflow","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.","publishedAt":"2026-10-13T01:30:26.511Z","updatedAt":"2026-10-14T13:32:36.559Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","source":"VulDB"},"assigner":"VulDB","products":["k2-fsa sherpa-onnx"],"affected":[{"vendor":"k2-fsa","product":"sherpa-onnx","versions":[{"version":"1.13.0","status":"affected"},{"version":"1.13.1","status":"affected"},{"version":"1.13.2","status":"affected"},{"version":"1.13.3","status":"affected"},{"version":"1.13.4","status":"affected"},{"version":"1.13.5","status":"affected"},{"version":"1.13.6","status":"affected"},{"version":"1.13.7","status":"affected"},{"version":"1.13.8","status":"affected"}],"cpes":["cpe:2.3:a:k2-fsa:sherpa-onnx:*:*:*:*:*:*:*:*"],"modules":["Offline Transducer Greedy Search Decoder"]}],"references":["https://vuldb.com/vuln/416773","https://vuldb.com/vuln/416773/cti","https://vuldb.com/cve/CVE-2026-108954","https://vuldb.com/submit/997824","https://github.com/k2-fsa/sherpa-onnx/issues/3983","https://github.com/k2-fsa/sherpa-onnx/issues/3983#issuecomment-5871985324","https://github.com/k2-fsa/sherpa-onnx/"],"weaknesses":["CWE-120","CWE-119"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/108xxx/CVE-2026-108954.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-108954","state":"PUBLISHED","datePublished":"2026-10-13T01:30:26.511Z","dateUpdated":"2026-10-14T13:32:36.559Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-10-11T19:06:03.097Z"},"containers":{"cna":{"title":"k2-fsa sherpa-onnx Offline Transducer Greedy Search Decoder offline-transducer-greedy-search-decoder.cc Decode buffer overflow","descriptions":[{"lang":"en","value":"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":[{"vendor":"k2-fsa","product":"sherpa-onnx","versions":[{"version":"1.13.0","status":"affected"},{"version":"1.13.1","status":"affected"},{"version":"1.13.2","status":"affected"},{"version":"1.13.3","status":"affected"},{"version":"1.13.4","status":"affected"},{"version":"1.13.5","status":"affected"},{"version":"1.13.6","status":"affected"},{"version":"1.13.7","status":"affected"},{"version":"1.13.8","status":"affected"}],"cpes":["cpe:2.3:a:k2-fsa:sherpa-onnx:*:*:*:*:*:*:*:*"],"modules":["Offline Transducer Greedy Search Decoder"]}],"references":[{"url":"https://vuldb.com/vuln/416773","name":"VDB-416773 | k2-fsa sherpa-onnx Offline Transducer Greedy Search Decoder offline-transducer-greedy-search-decoder.cc Decode buffer overflow","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/416773/cti","name":"VDB-416773 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-108954","name":"CVE-2026-108954 | CVE Analysis and Report","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/997824","name":"Submit #997824 | k2-fsa sherpa-onnx up to 1.13.8 (master commit 040afe360a38e25daaa325ce8889abf93ea02609 also affected) Heap-based Buffer Overflow","tags":["third-party-advisory"]},{"url":"https://github.com/k2-fsa/sherpa-onnx/issues/3983","tags":["exploit","issue-tracking"]},{"url":"https://github.com/k2-fsa/sherpa-onnx/issues/3983#issuecomment-5871985324","tags":["issue-tracking"]},{"url":"https://github.com/k2-fsa/sherpa-onnx/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":6.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":6.3,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":7.5,"vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","type":"CWE","lang":"en","description":"Buffer Overflow"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-10-13T01:30:26.511Z"},"timeline":[{"time":"2026-10-11T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-10-11T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-10-11T21:11:11.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Dem0 (VulDB User)","type":"reporter"}],"x_generator":["VulDB PVTS v202610"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-14T13:32:03.862404Z","id":"CVE-2026-108954","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-14T13:32:36.559Z"}}]}}}