# CVE-2026-116741: Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes

- Severity: High 8.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-26T21:52:40.782Z
- Modified: 2026-11-02T19:17:57.837Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- xiph speex: up to 1.2.1

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://hackmd.io/@haindpwn/cve-2026-116741-speex-bits-read-whole-bytes-oob-write> (exploit)
- <https://github.com/xiph/speex/issues/42> (issue-tracking)
- <https://github.com/xiph/speex> (product)
- <https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177> (technical-description)
- <https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write> (third-party-advisory)
- <https://gitlab.xiph.org/xiph/speex/-/merge_requests/32> (patch)
- <https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bits-read-whole-bytes> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-116741](https://www.cve.org/CVERecord?id=CVE-2026-116741), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-116741](https://nvd.nist.gov/vuln/detail/CVE-2026-116741), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-116741 · Whole record: https://cve.day/CVE-2026-116741.json · Rebuilt by cve.day 2026-11-25T22:59:47.303Z
