CVE-2026-142205: PocketSphinx through 5.1.1 Heap Buffer Overflow via Model File Parsers
PocketSphinx through 5.1.1 contains heap buffer overflow vulnerabilities in its acoustic model, language model and feature transform loaders because file-supplied counts and indices go unvalidated. Attackers can supply crafted model files that trigger out-of-bounds reads and writes in binmdefread, readmixw, gaudenparamread, featreadlda and ngramsrawreaddmp, causing crashes or code execution.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using PocketSphinx through version 5.1.1 are exposed when they load acoustic model, language model, or feature transform files that an attacker can supply or modify.
What does an attacker need to exploit it?
The attacker needs to induce the application to parse a crafted model file. The supplied CVSS vector indicates local attack access, no privileges required, and user interaction required.
Are default installations affected?
The available information identifies vulnerable model-file parsing code in PocketSphinx through 5.1.1, but does not state whether a default installation loads attacker-controlled model files. Exposure depends on whether untrusted files can reach the affected loaders.
What can be done if updating is not immediately possible?
Do not load acoustic models, language models, or feature transform files from untrusted sources. Restrict who can replace or provide files consumed by the affected model parsers.
How can I determine whether an application is affected?
Check whether it uses PocketSphinx version 5.1.1 or earlier and whether it invokes loaders for model files, including bin_mdef_read, read_mixw, gauden_param_read, feat_read_lda, or ngrams_raw_read_dmp.