CVE-2026-54559 PocketSphinx: Buffer overflows in language and acoustic model loading code
MediumCVSS 6.9
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pocketsphinx(PyPI) | < 5.1.1 | 5.1.1 |
| pypi pocketsphinx(PyPI) | = 0.0.1 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.0.2 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.0.3 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.0.4 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.0.5 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.0.6 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.0.7 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.0.8 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.0.9 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.0 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.10 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.11 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.12 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.15 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.3 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.5 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.7 | No fix listed |
| pypi pocketsphinx(PyPI) | = 0.1.9 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.0.0 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.0.0rc3 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.0.0rc4 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.0.0rc5 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.0.1 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.0.2 | No fix listed |
Show 10 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pocketsphinx(PyPI) | = 5.0.3 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.0.4 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.1.0 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.1.0rc1 | No fix listed |
| pypi pocketsphinx(PyPI) | = 5.1.0rc2 | No fix listed |
| cmusphinx pocketsphinx | = < 5.1.1 | No fix listed |
| ubuntu/pocketsphinx(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/pocketsphinx(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/pocketsphinx(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/pocketsphinx(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/cmusphinx/pocketsphinx/security/advisories/GHSA-56r5-2p2f-7cxp vendor-advisory
- github.com product
- https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.1.1
- https://github.com/cmusphinx/pocketsphinx/commit/2a3c03788a9973eff548664334fb781e9f4ad4a5
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org