Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-108954

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-108954

sherpa-onnx

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:2.3:a:k2-fsa:sherpa-onnx:*:*:*:*:*:*:*:*"
    ],
    "vendor": "k2-fsa",
    "modules": [
      "Offline Transducer Greedy Search Decoder"
    ],
    "product": "sherpa-onnx",
    "versions": [
      {
        "status": "affected",
        "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"
      }
    ]
  }
]
Related CVEs
CVE-2026-108954

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#21867 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement