CVE-2026-116741 | BDVDB-2026-396128 Detail
xiphspeex
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.
Impact#
Per CVSS v3.1: confidentiality impact none, integrity impact low, availability impact high. Attack vector: network.
Weaknesses#
- CWE-787 Out-of-bounds Write
References#
- https://github.com/xiph/speex/issues/42
- https://github.com/xiph/speex
- https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177
- https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write
- https://gitlab.xiph.org/xiph/speex/-/merge_requests/32
- https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bits-read-whole-bytes
- https://hackmd.io/@haindpwn/cve-2026-116741-speex-bits-read-whole-bytes-oob-write
Exploit#
History#
- Version 1Record published in the CVE List.
- Version 2Most recent update recorded in the CVE List.