CVE-2026-116741
Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| speex xiph xiph/speex
github |
≥ 0; ≤ 1.2.1 (affected, custom)
Other versions: unaffected |
CNA: VulnCheck |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 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 | CNA: 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 | CNA: VulnCheck |
Exploit evidence
- https://hackmd.io/@haindpwn/cve-2026-116741-speex-bits-read-whole-bytes-oob-write
exploit · ADP: CISA-ADP
References
- https://github.com/xiph/speex/issues/42CNA: VulnCheck · issue-tracking
- https://github.com/xiph/speexCNA: VulnCheck · product
- https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177CNA: VulnCheck · technical-description
- https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-writeCNA: VulnCheck · third-party-advisory
- https://gitlab.xiph.org/xiph/speex/-/merge_requests/32CNA: VulnCheck · patch
- https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bits-read-whole-bytesCNA: VulnCheck · third-party-advisory
- https://hackmd.io/@haindpwn/cve-2026-116741-speex-bits-read-whole-bytes-oob-writeADP: CISA-ADP · exploit
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.