
CVE catalog
CVE-2021-34813
olm: CVE-2021-34813
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | olm | sid | 3.2.16+dfsg-6 | fixed |
| Debian | olm | forky | 3.2.16+dfsg-6 | fixed |
| Debian | olm | trixie | 3.2.16+dfsg-3 | fixed |
| Debian | olm | bookworm | 3.2.13~dfsg-1 | fixed |
| Ubuntu | olm | pro | 3.1.3+dfsg-2 | vulnerable |
| Ubuntu | olm | pro | 3.1.3+dfsg-2build1 | vulnerable |
| Ubuntu | olm | pro | 3.1.3+dfsg-2build2 | vulnerable |
| Ubuntu | olm | pro | 3.1.3+dfsg-2ubuntu0.1~esm1 | fixed |
| Ubuntu | olm | pro | 3.1.3+dfsg-2 | vulnerable |
| Ubuntu | olm | pro | 3.1.3+dfsg-2build1 | vulnerable |
| Ubuntu | olm | pro | 3.1.3+dfsg-2build2 | vulnerable |
| Ubuntu | olm | pro | 3.1.3+dfsg-2ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | olm | source | sid | 3.2.3~dfsg-3 | not yet assigned | Not reported | [989997] |
| Debian | olm | source | forky | 3.2.3~dfsg-3 | not yet assigned | Not reported | [989997] |
| Debian | olm | source | trixie | 3.2.3~dfsg-3 | not yet assigned | Not reported | [989997] |
| Debian | olm | source | bookworm | 3.2.3~dfsg-3 | not yet assigned | Not reported | [989997] |
| Ubuntu | olm | deb | pro | 3.1.3+dfsg-2ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-34813 | Not reported |
| Ubuntu | olm | deb | pro | 3.1.3+dfsg-2ubuntu0.1~esm1 | Not reported | USN-5194-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libjs-olm]Fixed
Source package: [olm]
Details (2)
3.2.13~dfsg-1· all · bookwormFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · bookworm; dsa · olm · debian · 12
3.2.13~dfsg-1· all · bookwormFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · bookworm; dsa · olm · debian · 12
- [libolm3]Fixed
Source package: [olm]
Details (2)
3.2.13~dfsg-1· amd64 · bookwormFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · bookworm; dsa · olm · debian · 12
3.2.13~dfsg-1· arm64 · bookwormFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · bookworm; dsa · olm · debian · 12
- [libolm-dev]Fixed
Source package: [olm]
Details (2)
3.2.13~dfsg-1· amd64 · bookwormFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · bookworm; dsa · olm · debian · 12
3.2.13~dfsg-1· arm64 · bookwormFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · bookworm; dsa · olm · debian · 12
- [python3-olm]Fixed
Source package: [olm]
Details (2)
3.2.13~dfsg-1· amd64 · bookwormFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · bookworm; dsa · olm · debian · 12
3.2.13~dfsg-1· arm64 · bookwormFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · bookworm; dsa · olm · debian · 12
[Debian 13 (Trixie)]
- [libolm3]Fixed
Source package: [olm]
Details (2)
3.2.16+dfsg-3· amd64 · trixieFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · 13
3.2.16+dfsg-3· arm64 · trixieFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · 13
- [libolm-dev]Fixed
Source package: [olm]
Details (2)
3.2.16+dfsg-3· amd64 · trixieFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · 13
3.2.16+dfsg-3· arm64 · trixieFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · 13
- [python3-olm]Fixed
Source package: [olm]
Details (2)
3.2.16+dfsg-3· amd64 · trixieFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · 13
3.2.16+dfsg-3· arm64 · trixieFixed · Fixed:
3.2.3~dfsg-3dsa · olm · debian · 13
Observed: