{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.2.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.2.1"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5dceaaf3e23ee7fd17c80cb5f02a838fd6c18e01"
            }
          ],
          "repo": "https://github.com/xiph/speex",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116741.json"
  },
  "details": "Speex (libspeex) through 1.2.1 contains an out-of-bounds write vulnerability in speex_bits_read_whole_bytes() in libspeex/bits.c that mishandles length truncation for non-owned SpeexBits buffers. Attackers can stream crafted Speex data into buffers set up with speex_bits_init_buffer() or speex_bits_set_bit_buffer() to corrupt heap or stack memory and crash applications.",
  "id": "CVE-2026-116741",
  "modified": "2026-11-04T02:30:40.068157390Z",
  "published": "2026-10-26T21:52:40.782Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116741.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116741"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bits-read-whole-bytes"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/xiph/speex/issues/42"
    },
    {
      "type": "FIX",
      "url": "https://gitlab.xiph.org/xiph/speex/-/merge_requests/32"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/xiph/speex"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177"
    },
    {
      "type": "EVIDENCE",
      "url": "https://hackmd.io/@haindpwn/cve-2026-116741-speex-bits-read-whole-bytes-oob-write"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes"
}