CVE-2026-116741
mediumSpeex (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 truncat…
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/xiph/speex disclosure@vulncheck.com
- https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177 disclosure@vulncheck.com
- https://github.com/xiph/speex/issues/42 disclosure@vulncheck.com
- https://gitlab.xiph.org/xiph/speex/-/merge_requests/32 disclosure@vulncheck.com
- https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bit... disclosure@vulncheck.com
