---
id: CVE-2026-108954
title: A vulnerability was found in k2-fsa sherpa-onnx up to 1.13.8
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 …
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L'
cwe:
  - CWE-119
  - CWE-120
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T02:16:57.503'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-108954'
references:
  - url: 'https://github.com/k2-fsa/sherpa-onnx/'
    label: cna@vuldb.com
  - url: 'https://github.com/k2-fsa/sherpa-onnx/issues/3983'
    label: cna@vuldb.com
  - url: 'https://github.com/k2-fsa/sherpa-onnx/issues/3983#issuecomment-5871985324'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-108954'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/997824'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/416773'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/416773/cti'
    label: cna@vuldb.com
tags:
  - nvd
ingestedAt: '2026-10-13T03:13:18.989Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
