Live threats

All CVEs / Matrix

CVE-2021-34813Matrix Olm

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
4.3%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Jun 16, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Olm.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
matrixolm< 3.2.3

Official sources

References

Links published by the sources. Open them with care.