CVE-2026-116741
Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes
CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-787 |
| Vendor | xiph |
| Product | speex |
| Published | Oct 26, 2026 |
Stay Ahead of the Next One
Get instant alerts for xiph speex
Be the first to know when new medium vulnerabilities affecting xiph speex are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
Affected Versions
xiph / speex
0 โค 1.2.1
References
github.com: https://github.com/xiph/speex/issues/42 github.com: https://github.com/xiph/speex github.com: https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177 hackmd.io: https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write gitlab.xiph.org: https://gitlab.xiph.org/xiph/speex/-/merge_requests/32 vulncheck.com: https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bits-read-whole-bytes
Credits
HaiND from the Post and Telecommunication Institute of Technology