Vulnerabilities / CVE-2021-34813

critical

CVE-2021-34813

Matrix libolm before 3.2.3 allows a malicious Matrix homeserver to cra ...

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 10olmno fix listed
debian 11olmno fix listed
debian 12olm3.2.3~dfsg-3
debian 13olm3.2.3~dfsg-3
debian 14olm3.2.3~dfsg-3
echoolm3.2.3~dfsg-3
ubuntu 20.04-ESMolm3.1.3+dfsg-2ubuntu0.1~esm1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.