CVE-2026-116741
Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes
- State
- Published
- Severity
- 8.3 High
- Published
- Oct 26, 2026
- Updated
- Oct 26, 2026
- Reserved
- Oct 26, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.3 High | 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 | VulnCheck |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
speexxiph |
|
References
- GitHub Issue #42issue-tracking
- https://github.com/xiph/speexproduct
- https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177technical-description
- https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-writethird-party-advisory
- https://gitlab.xiph.org/xiph/speex/-/merge_requests/32patch
- VulnCheck Advisory: Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytesthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.