{"id":"CVE-2021-34813","aliases":["CVE-2021-34813"],"related":[],"kind":"vulnerability","state":"published","title":"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…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Matrix libolm versiones anteriores a 3.2.3 permite a un homeserver de Matrix malicioso bloquear a un cliente (mientras intenta recuperar una copia de seguridad de la clave de la sala cifrada por Olm desde el homeserver) porque la función olm_pk_decrypt presenta un desbordamiento de búfer en la región stack de la memoria. Una ejecución de código remota podría ser posible para algunas configuraciones de construcción no estándar","source":"nvd"}],"published":"2021-06-16T17:11:53.000Z","modified":"2026-06-17T03:56:36.990Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.2.3"}],"vendor":"matrix","product":"olm","cpe":"cpe:2.3:a:matrix:olm:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://matrix.org/blog/2021/06/14/adventures-in-fuzzing-libolm","tags":["exploit","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.matrix.org/matrix-org/olm/-/releases/3.2.3","tags":["release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.matrix.org/matrix-org/olm/-/commit/ccc0d122ee1b4d5e5ca4ec1432086be17d5f901b","tags":["patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-34813","url":"https://www.cve.org/CVERecord?id=CVE-2021-34813","licence":"CVE Terms of Use","modified":"2024-08-04T00:26:54.020Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-34813","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34813","licence":"Public domain","modified":"2026-06-17T03:56:36.990Z"}],"updatedAt":"2026-11-25T22:58:01.960Z","epss":{"score":0.04262,"percentile":0.9185,"date":"2026-11-30T12:00:22.000Z"}}