{"id":"CVE-2021-44538","aliases":["CVE-2021-44538"],"related":[],"kind":"vulnerability","state":"published","title":"The olmsessiondescribe function in Matrix libolm before 3.2.7 is vulnerable to a buffer overflow.","summary":"The olm_session_describe function in Matrix libolm before 3.2.7 is vulnerable to a buffer overflow. The Olm session object represents a cryptographic channel between two parties. Therefore, its state is partially controllable by the remote party of the channel. Attackers can construct a crafted sequence of messages to manipulate the state of the receiver's session in such a way that, for some buffer sizes, a buffer overflow happens on a call to olm_session_describe. Furthermore, safe buffer sizes were undocumented. The overflow content is partially controllable by the attacker and limited to ASCII spaces and digits. The known affected products are Element Web And SchildiChat Web.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The olm_session_describe function in Matrix libolm before 3.2.7 is vulnerable to a buffer overflow. The Olm session object represents a cryptographic channel between two parties. Therefore, its state is partially controllable by the remote party of the channel. Attackers can construct a crafted sequence of messages to manipulate the state of the receiver's session in such a way that, for some buffer sizes, a buffer overflow happens on a call to olm_session_describe. Furthermore, safe buffer sizes were undocumented. The overflow content is partially controllable by the attacker and limited to ASCII spaces and digits. The known affected products are Element Web And SchildiChat Web.","source":"cvelist"},{"lang":"es","text":"La función olm_session_describe en Matrix libolm versiones anteriores a 3.2.7, es vulnerable a un desbordamiento de búfer. El objeto Olm session representa un canal criptográfico entre dos partes. Por lo tanto, su estado es parcialmente controlable por la parte remota del canal. Los atacantes pueden construir una secuencia de mensajes manipulada para manipular el estado de la sesión del receptor de tal manera que, para algunos tamaños de búfer, se produzca un desbordamiento de búfer en una llamada a olm_session_describe. Además, los tamaños de búfer seguros no estaban documentados. El contenido del desbordamiento es parcialmente controlable por el atacante y se limita a espacios y dígitos ASCII. Los productos afectados conocidos son Element Web y SchildiChat Web","source":"nvd"}],"published":"2021-12-14T13:26:32.000Z","modified":"2026-06-17T04:12:32.310Z","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-119"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.9.7"},{"status":"affected","fixed":"1.9.7"}],"vendor":"matrix","product":"element","cpe":"cpe:2.3:a:matrix:element:*:*:*:*:desktop:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.4.2","fixed":"15.2.1"}],"vendor":"matrix","product":"javascript_sdk","cpe":"cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"3.1.4","fixed":"3.2.8"}],"vendor":"matrix","product":"olm","cpe":"cpe:2.3:a:matrix:olm:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"1.9.7-sc1"},{"status":"affected","fixed":"1.9.7-sc1"}],"vendor":"schildi","product":"schildichat","cpe":"cpe:2.3:a:schildi:schildichat:*:*:*:*:desktop:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"1.6.0"}],"vendor":"cinny_project","product":"cinny","cpe":"cpe:2.3:a:cinny_project:cinny:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gitlab.matrix.org/matrix-org/olm/-/tags","tags":["product","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk","tags":["patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2022/dsa-5034","tags":["third-party-advisory","vendor-advisory","x-refsource-debian","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-44538","url":"https://www.cve.org/CVERecord?id=CVE-2021-44538","licence":"CVE Terms of Use","modified":"2024-08-04T04:25:16.851Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-44538","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44538","licence":"Public domain","modified":"2026-06-17T04:12:32.310Z"}],"updatedAt":"2026-11-25T22:24:36.236Z","epss":{"score":0.02001,"percentile":0.81374,"date":"2026-12-02T12:00:21.000Z"}}