Buffer overflow in Xiph Speex
CVE-2026-116741
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.
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/xiph/speex/issues/42 (issue-tracking)
- github.com/xiph/speex (product)
- github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c (technical-description)
- hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write (third-party-advisory)
- gitlab.xiph.org/xiph/speex/-/merge_requests/32 (patch)
- www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-116741?
- CVE-2026-116741 is a medium-severity vulnerability in Xiph Speex, classified under Out-of-bounds Write. CVSS score: 6.5/10. Published 2026-10-26.
- How severe is CVE-2026-116741?
- Medium severity. CVSS v3 base score is 6.5 out of 10.