CVE-2021-44538

CRITICAL

Matrix libolm < 3.2.7 - Buffer Overflow in olm_session_describe

Title source: llm
STIX 2.1

Description

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.

References (4)

Core 4
Core References
Product, Third Party Advisory x_refsource_misc
https://gitlab.matrix.org/matrix-org/olm/-/tags
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2022/dsa-5034
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html

Scores

CVSS v3 9.8
EPSS 0.0192
EPSS Percentile 77.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (8)
cinny_project/cinny < 1.6.0
debian/debian_linux 9.0
debian/debian_linux 10.0
debian/debian_linux 11.0
matrix/element < 1.9.7 (2 CPE variants)
matrix/javascript_sdk 2.4.2 - 15.2.1
matrix/olm 3.1.4 - 3.2.8
schildi/schildichat < 1.9.7-sc1 (2 CPE variants)
Published Dec 14, 2021
Tracked Since Feb 18, 2026