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.
Cite this page
CVE-2021-34813. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2021-34813
Use CWE-787, Matrix vendor hub and Olm product page to widen CVE-2021-34813 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2021-44538, CVE-2024-45192 and CVE-2024-45191 for nearby disclosures in the same product family.