CriticalFix available
olm — security advisory
Matrix libolm before 3.2.3 allows a malicious Matrix homeserver to crash a client (while it is attempting to retrieve an Olm encrypted room key backup from the homeserver) because olm_pk_decrypt has a stack-based buffer overflow. Remote code execution might be possible for some nonstandard build configurations.
- Products
- olm
- Affected versions
- Not specified
- Fixed versions
- 3.2.3~dfsg-3
- CVEs
- CVE-2021-34813
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:43 UTC · Revision 1
Source evidence
Matrix libolm before 3.2.3 allows a malicious Matrix homeserver to crash a client (while it is attempting to retrieve an Olm encrypted room key backup from the homeserver) because olm_pk_decrypt has a stack-based buffer overflow. Remote code execution might be possible for some nonstandard build configurations.
osv:DEBIAN-CVE-2021-34813
olm
Fixed versions: 3.2.3~dfsg-3
olm
Fixed versions: 3.2.3~dfsg-3
olm
Fixed versions: 3.2.3~dfsg-3
Complete source record
{
"id": "1c91df69ba688461db6b803f56542b3f4724eead8a79bd8bbef0e73c0d51c5be",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-34813",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-34813",
"summary": "Matrix libolm before 3.2.3 allows a malicious Matrix homeserver to crash a client (while it is attempting to retrieve an Olm encrypted room key backup from the homeserver) because olm_pk_decrypt has a stack-based buffer overflow. Remote code execution might be possible for some nonstandard build configurations.",
"evidence": "osv:DEBIAN-CVE-2021-34813",
"products": [
{
"name": {
"value": "olm",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.3~dfsg-3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "olm",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.3~dfsg-3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "olm",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.3~dfsg-3",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2021-34813",
"aliases": [
"DEBIAN-CVE-2021-34813"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.3~dfsg-3"
}
]
}
],
"package": {
"name": "olm",
"purl": "pkg:deb/debian/olm?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-34813.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.3~dfsg-3"
}
]
}
],
"package": {
"name": "olm",
"purl": "pkg:deb/debian/olm?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-34813.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.3~dfsg-3"
}
]
}
],
"package": {
"name": "olm",
"purl": "pkg:deb/debian/olm?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-34813.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:38.285172635Z",
"provider": "osv",
"upstream": [
"CVE-2021-34813"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-34813"
]
},
"related_cves": [
{
"value": "CVE-2021-34813",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422093,
"published_at": "2021-06-16T18:15:09.73+00:00"
}