Skip to main content
← All vulnerabilities
CVE-2026-54559GHSA-56R5-2P2F-7CXPPYSEC-2026-3498

PocketSphinx: Buffer overflows in language and acoustic model loading code

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.1.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

PocketSphinx is a small speech recognizer. Prior to 5.1.1, the trie language-model loaders in src/lm/ngram_model_trie.c do not adequately validate boundary conditions in ARPA, DMP, and binary format headers, and the acoustic-model loaders in src/mdef.c and src/util/bio.c use sscanf with unbounded string fields. Loading an invalid, corrupted, or malicious language or acoustic model can therefore cause stack or heap buffer overflows and memory corruption. An attacker who can write to a directory selected by POCKETSPHINX_PATH can replace or add a model file that PocketSphinx later loads; users of PocketSphinx 5prealpha have no backported patch and must migrate to the fixed release. This issue is fixed in version 5.1.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • cmusphinx pocketsphinx

    fixed in 5.1.1

  • pocketsphinxPyPI

    fixed in 5.1.1

References 3

GitHub · cmusphinx/pocketsphinx