CVE-2026-108954

k2-fsa sherpa-onnx Offline Transducer Greedy Search Decoder offline-transducer-greedy-search-decoder.cc Decode buffer overflow

Published Oct 13, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a buffer overflow in the OfflineTransducerGreedySearchDecoder::Decode function of sherpa-onnx, triggered by manipulating the vocab_size argument in model metadata. This overflow can overwrite adjacent memory, leading to arbitrary code execution or denial of service. The weakness aligns with CWE-119 and CWE-120.

Affected Systems

Affected systems are installations of k2‑fsa sherpa‑onnx up to version 1.13.8. The function resides in the Offline Transducer Greedy Search Decoder component. The issue is present in all releases prior to 1.13.8, regardless of operating system, as it is a library‑level flaw.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score is unavailable, so the exploitation probability is unclear. The vulnerability is not listed in the CISA KEV catalog. Attack can be launched remotely by supplying a malformed or tampered model pack; the exploit has been made public, but the risk is mitigated if only official model packs that keep metadata consistent are used. From a security standpoint, however, the code trusts unvalidated metadata and can still be triggered.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update k2‑fsa sherpa‑onnx to a version newer than 1.13.8 to eliminate the vulnerable code.
  • Ensure all model packs are authenticated and that their metadata is consistent with the joiner before loading; do not trust unvalidated model metadata.
  • Consider disabling the OfflineTransducerGreedySearchDecoder component if it is not essential, or sandbox the decoding process to limit potential damage.

Generated by OpenCVE AI on October 13, 2026 at 03:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title k2-fsa sherpa-onnx Offline Transducer Greedy Search Decoder offline-transducer-greedy-search-decoder.cc Decode buffer overflow
First Time appeared K2-fsa
K2-fsa sherpa-onnx
Weaknesses CWE-119
CWE-120
CPEs cpe:2.3:a:k2-fsa:sherpa-onnx:*:*:*:*:*:*:*:*
Vendors & Products K2-fsa
K2-fsa sherpa-onnx
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': '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'}

cvssV3_1

{'score': 6.3, 'vector': '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'}

cvssV4_0

{'score': 5.3, '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'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Oct 14, 2026, 1:32 PM
Reserved
Oct 11, 2026, 7:06 PM
Status
Deferred
Published
Oct 13, 2026, 2:16 AM
Modified
Oct 14, 2026, 2:17 PM