CVE-2026-54559
published medium CVSS 4.0 · 6.9PocketSphinx: Buffer overflows in language and acoustic model loading code
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cmusphinx | — | pocketsphinx< 5.1.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cmusphinx | pocketsphinx | < 5.1.1 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-119 CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-121 CWE-121: Stack-based Buffer Overflow
- CWE-122 CWE-122: Heap-based Buffer Overflow
References
3Provider assertions
2GitHub_M · cna
PocketSphinx: Buffer overflows in language and acoustic model loading code
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 404ad30e9c1a59b981a84e7086d3b79e0a5526018d3c204012ea81af02ee0ed5
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record