{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "5.1.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "511126b492dcb267cf30d49d631946d7b61a9530"
            }
          ],
          "repo": "https://github.com/cmusphinx/pocketsphinx",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-142205",
  "modified": "2026-12-02T17:46:12.892732009Z",
  "published": "2026-12-02T16:50:43.545Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "PocketSphinx through 5.1.1 Heap Buffer Overflow via Model File Parsers"
}