Affected versions
Ubuntu18.04:LTS/speex
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/speex
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/speex
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/speex
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/speex
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/speex
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/speex
- Affected versions
- *
- Fixed version
- Not reported
Description
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.
Links
- https://github.com/cveproject/cvelistv5/tree/main/cves/2026/116xxx/cve-2026-116741.json
- https://github.com/xiph/speex
- https://github.com/xiph/speex/blob/speex-1.2.1/libspeex/bits.c#l177
- https://github.com/xiph/speex/issues/42
- https://gitlab.xiph.org/xiph/speex/-/merge_requests/32
- https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write
- https://nvd.nist.gov/vuln/detail/cve-2026-116741
- https://ubuntu.com/security/CVE-2026-116741
- https://www.cve.org/CVERecord?id=CVE-2026-116741
- https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bits-read-whole-bytes

