CVE-2026-54559

MEDIUM CVSS 4.0: 6.9 EPSS 0.55%
Updated Sep 30, 2026
Pocketsphinx
Parameter Value
CVSS 6.9 (MEDIUM)
Fixed In 5.1.1
Type CWE-119 (Buffer Overflow), CWE-122 (Heap-based Buffer Overflow), CWE-121 (Stack-based Buffer Overflow)
Vendor Pocketsphinx
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0