{"id":"CVE-2026-116741","summary":"Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes","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.","modified":"2026-11-17T17:28:12.908869414Z","published":"2026-10-26T21:52:40.782Z","related":["SUSE-SU-2026:24734-1","SUSE-SU-2026:5225-1","openSUSE-SU-2026:12336-1"],"database_specific":{"cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116741.json","cna_assigner":"VulnCheck"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xiph/speex","events":[{"introduced":"0"},{"last_affected":"5dceaaf3e23ee7fd17c80cb5f02a838fd6c18e01"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"1.2.1"}]},{"range":[{"introduced":"0"},{"last_affected":"1.2.1"}],"source":"DESCRIPTION"}]}}],"versions":["Speex-1.2.1","Speex-1.2.0","Speex-1.2rc2","Speex-1.2rc1","Speex-1.2beta3.2","Speex-1.2beta3.1","Speex-1.2beta3","speex-1.2beta2","Speex-1.2beta2","Speex-1.2beta1","Speex-1.1.12","Speex-1.1.11.1","Speex-1.1.11","Speex-1.1.10","Speex-1.1.9","Speex-1.1.8","Speex-1.1.7","Speex-1.1.6","Speex-1.1.5","Speex-1.1.4","Speex-1.1.3","Speex-1.1.2","Speex-1.1","Speex-1.0","Speex-1.0rc3","Speex-1.0rc2","Speex-1.0rc1","Speex-1.0beta4","Speex-1.0beta3","Speex-1.0beta2","Speex-1.0beta1","Speex-0.8","Speex-0.5.0","Speex-0.4.0","Speex-0.3.0","Speex-0.2.0","Speex-0.1.2","Speex-0.1.1","Speex-0.1.0","Speex-0.0.3","Speex-0.0.2","Speex-0.0.1","Initial"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116741.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}