{"id":"CVE-2026-116741","title":"Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes","summary":"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 i…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","cvssSource":"cna","cwe":["CWE-787"],"vendor":"xiph","product":"speex","affected":["speex <= 1.2.1"],"published":"2026-10-26","updated":"2026-10-26","sourceUpdated":"2026-10-26T21:52:40.782Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116741","references":[{"url":"https://github.com/xiph/speex/issues/42","label":"GitHub Issue #42"},{"url":"https://github.com/xiph/speex"},{"url":"https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177"},{"url":"https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write"},{"url":"https://gitlab.xiph.org/xiph/speex/-/merge_requests/32"},{"url":"https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bits-read-whole-bytes","label":"VulnCheck Advisory: Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes"}],"tags":["cve.org"],"epss":0.00409,"epssPercentile":0.34937,"ingestedAt":"2026-10-27T16:11:59.124Z","slug":"CVE-2026-116741","body":"## Overview\n\nSpeex (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.\n\n## Affected\n\n- `speex <= 1.2.1`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}