# CVE-2021-34813

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 3.2.3 (CNA); fix release not confirmed
- Status: published
- Published: 2021-06-16 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-34813, USN-5194-1, DEBIAN-CVE-2021-34813
- Record: https://cvemate.com/vulnerability/CVE-2021-34813 · JSON: https://cvemate.com/vulnerability/CVE-2021-34813/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.262%, percentile 91.343%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian olm (Debian): \< 3.2.3~dfsg-3
- ubuntu olm (Ubuntu): \< 3.1.3+dfsg-2ubuntu0.1~esm1
- matrix olm: \< 3.2.3

## References

- <https://matrix.org/blog/2021/06/14/adventures-in-fuzzing-libolm>
- <https://gitlab.matrix.org/matrix-org/olm/-/releases/3.2.3>
- <https://gitlab.matrix.org/matrix-org/olm/-/commit/ccc0d122ee1b4d5e5ca4ec1432086be17d5f901b>
- <https://ubuntu.com/security/CVE-2021-34813>
- <https://ubuntu.com/security/notices/USN-5194-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-34813>
- <https://security-tracker.debian.org/tracker/CVE-2021-34813>

---

Data as of 2026-12-05T09:57:24.219Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
