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.
- Products
- speex
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-116741
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:33 UTC · Revision 1
Source evidence
Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes
core-cve · Original sourcePublished 26 Oct 2026, 21:52 UTC
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.
cve:CVE-2026-116741
speex
Fixed versions: Not specified
Complete source record
{
"id": "1bc9a9532cbef90109bb629afe2dfeb5c659bab94ad881b45b1c3cad6cb5320b",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-116741",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Speex through 1.2.1 Out-of-Bounds Write via speex_bits_read_whole_bytes",
"summary": "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.",
"evidence": "cve:CVE-2026-116741",
"products": [
{
"name": {
"value": "speex",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-116741",
"aliases": [
"CVE-2026-116741"
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"version": "4.0",
"baseScore": 8.3,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "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",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "NONE"
}
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
}
],
"affected": [
{
"repo": "https://github.com/xiph/speex",
"vendor": "xiph",
"product": "speex",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "custom",
"lessThanOrEqual": "1.2.1"
}
],
"packageURL": "pkg:github/xiph/speex",
"defaultStatus": "unaffected"
}
],
"modified": "2026-10-26T21:52:40.782Z",
"provider": "cve",
"references": [
"https://github.com/xiph/speex/issues/42",
"https://github.com/xiph/speex",
"https://github.com/xiph/speex/blob/Speex-1.2.1/libspeex/bits.c#L177",
"https://hackmd.io/@haindpwn/speex-bits-read-whole-bytes-oob-write",
"https://gitlab.xiph.org/xiph/speex/-/merge_requests/32",
"https://www.vulncheck.com/advisories/speex-through-1.2.1-out-of-bounds-write-via-speex-bits-read-whole-bytes"
],
"provider_metadata": {
"cna": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-26T21:52:40.782Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-116741",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 353939,
"published_at": "2026-10-26T21:52:40.782+00:00"
}