CVE-2026-54559
PocketSphinx is a small speech recognizer. Prior to 5.1.1, the trie …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/cmusphinx/pocketsphinx/security/advisories/GHSA-56r5-2p2f-7cxp
- github.com/cmusphinx/pocketsphinx/releases/tag/v5.1.1
- github.com/advisories/GHSA-56r5-2p2f-7cxp
- github.com/cmusphinx/pocketsphinx/commit/2a3c03788a9973eff548664334fb781e9f4ad4a5
- nvd.nist.gov/vuln/detail/CVE-2026-54559
- cve.org/CVERecord?id=CVE-2026-54559
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.