{"id":"CVE-2026-142205","summary":"PocketSphinx through 5.1.1 Heap Buffer Overflow via Model File Parsers","details":"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 bin_mdef_read, read_mixw, gauden_param_read, feat_read_lda and ngrams_raw_read_dmp, causing crashes or code execution.","modified":"2026-12-02T18:00:09.418536130Z","published":"2026-12-02T16:50:43.545Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142205.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142205.json"},{"type":"PACKAGE","url":"https://github.com/cmusphinx/pocketsphinx"},{"type":"ARTICLE","url":"https://github.com/cmusphinx/pocketsphinx/blob/v5.1.1/src/bin_mdef.c#L486-L505"},{"type":"ARTICLE","url":"https://github.com/cmusphinx/pocketsphinx/blob/v5.1.1/src/lm/ngrams_raw.c#L330-L351"},{"type":"ARTICLE","url":"https://github.com/cmusphinx/pocketsphinx/blob/v5.1.1/src/s2_semi_mgau.c#L1140-L1185"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142205"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pocketsphinx-through-5.1.1-heap-buffer-overflow-via-model-file-parsers"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cmusphinx/pocketsphinx","events":[{"introduced":"0"},{"last_affected":"511126b492dcb267cf30d49d631946d7b61a9530"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"5.1.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v5.1.1","v5.1.0","v5.1.0rc2","v5.1.0rc1","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v5.0.0rc5","v5.0.0rc4","v5.0.0rc3","v5.0.0rc2","v5.0.0rc1","last-pre-1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142205.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}