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.
Published: 2026-10-13
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Remote buffer overflow potentially leading to arbitrary code execution
Action: Patch promptly
AI Analysis

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.

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

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 yet.

History

Tue, 13 Oct 2026 02:15:00 +0000

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'}


Subscriptions

K2-fsa Sherpa-onnx
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-13T01:30:26.511Z

Reserved: 2026-10-11T19:06:03.097Z

Link: CVE-2026-108954

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-13T02:16:57.503

Modified: 2026-10-13T02:16:57.503

Link: CVE-2026-108954

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T03:30:17Z

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')