CVE-2026-54559 json
PocketSphinx: Buffer overflows in language and acoustic model loading code
published 2026-07-17 3 mo ago modified 2026-09-30 39 d ago also GHSA-56r5-2p2f-7cxp , PYSEC-2026-3498 , EUVD-2026-78066
- cvss
- 6.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi pocketsphinx 5.1.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-54559 updated cvss 6.6
pocketsphinx: PocketSphinx: Memory corruption via malicious model file loading
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 54 d ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
| CNA | 4.0 | 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pocketsphinx | <5.1.1 |
5.1.1 |
Affected products
- cmusphinx pocketsphinx
Classification
References
- github.com /cmusphinx/pocketsphinx/commit/2a3c03788a9973eff548664334fb781e9f4ad4a5
-
github.com
/cmusphinx/pocketsphinx/security/advisories/GHSA-56r5-2p2f-7cxp
web
-
github.com
/cmusphinx/pocketsphinx/releases/tag/v5.1.1
web
-
github.com
/cmusphinx/pocketsphinx
package
-
pypi.org
/project/pocketsphinx
package
-
github.com
/advisories/GHSA-56r5-2p2f-7cxp
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-54559
advisory
Sources
- CVE List CVE-2026-54559
- GitHub Advisory GHSA-56r5-2p2f-7cxp
- NVD CVE-2026-54559
- OSV PYSEC-2026-3498
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.