1. Home
  2. Vulnerabilities
  3. CVE-2026-108954

CVE-2026-108954

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

Published 13 Oct 2026 · modified 14 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 38/100

Summary

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 products and versions

k2-fsa (9 line(s))
k2-fsa
ProductVersionsFixed inSource
sherpa-onnx 1.13.0 — CNA (vendor or assigner)
sherpa-onnx 1.13.1 — CNA (vendor or assigner)
sherpa-onnx 1.13.2 — CNA (vendor or assigner)
sherpa-onnx 1.13.3 — CNA (vendor or assigner)
sherpa-onnx 1.13.4 — CNA (vendor or assigner)
sherpa-onnx 1.13.5 — CNA (vendor or assigner)
sherpa-onnx 1.13.6 — CNA (vendor or assigner)
sherpa-onnx 1.13.7 — CNA (vendor or assigner)
sherpa-onnx 1.13.8 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L (CVSS 3.1, NVD)
Weakness
CWE-119 · Corruption mémoire

How this data is obtained and calculated