CVE-2021-44538
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | olm | Fix pending | UBUNTU-CVE-2021-44538 | |
| Ubuntu 26.04 | olm | Under investigation | UBUNTU-CVE-2021-44538 | |
| Ubuntu 25.10 | olm | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-44538 | |
| Ubuntu 24.04 | node-matrix-js-sdk | Under investigation | UBUNTU-CVE-2021-44538 | |
| Ubuntu 24.04 | olm | Under investigation | UBUNTU-CVE-2021-44538 | |
| Ubuntu 22.04 | node-matrix-js-sdk | Under investigation | UBUNTU-CVE-2021-44538 | |
| Ubuntu 22.04 | olm | Under investigation | UBUNTU-CVE-2021-44538 | |
| Ubuntu 22.04 | thunderbird | Fixed | 1:91.5.0+build1-0ubuntu1 | UBUNTU-CVE-2021-44538 |
| Ubuntu 20.04 | node-matrix-js-sdk | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-44538 | |
| Ubuntu 20.04 | olm | Fix pending | UBUNTU-CVE-2021-44538 | |
| Ubuntu 20.04 | thunderbird | Fixed | 1:91.5.0+build1-0ubuntu0.20.04.1 | UBUNTU-CVE-2021-44538 |
| Ubuntu 18.04 | olm | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-44538 | |
| Ubuntu 18.04 | thunderbird | Fixed | 1:91.5.0+build1-0ubuntu0.18.04.1 | UBUNTU-CVE-2021-44538 |
| Ubuntu 16.04 | thunderbird | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | thunderbird | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | olm | Fixed | 3.2.8~dfsg-1 | DEBIAN-CVE-2021-44538 |
| Debian 14 | thunderbird | Fixed | 1:91.4.1-1 | DEBIAN-CVE-2021-44538 |
| Debian 13 | olm | Fixed | 3.2.8~dfsg-1 | DEBIAN-CVE-2021-44538 |
| Debian 13 | thunderbird | Fixed | 1:91.4.1-1 | DEBIAN-CVE-2021-44538 |
| Debian 12 | olm | Fixed | 3.2.8~dfsg-1 | DEBIAN-CVE-2021-44538 |
| Debian 12 | thunderbird | Fixed | 1:91.4.1-1 | DEBIAN-CVE-2021-44538 |
| Alpine Linux 3.24 | element-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.23 | element-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.23 | thunderbird | Fixed | 91.4.1-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.22 | element-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.22 | thunderbird | Fixed | 91.4.1-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.21 | element-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.21 | thunderbird | Fixed | 91.4.1-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.20 | element-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.20 | thunderbird | Fixed | 91.4.1-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.19 | element-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.19 | thunderbird | Fixed | 91.4.1-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.18 | element-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.18 | thunderbird | Fixed | 91.4.1-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.17 | riot-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.17 | thunderbird | Fixed | 91.4.1-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.16 | riot-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.16 | thunderbird | Fixed | 91.4.1-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.15 | riot-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
| Alpine Linux 3.14 | riot-web | Fixed | 1.9.7-r0 | ALPINE-CVE-2021-44538 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2022/dsa-5034 (vendor-advisory)
References
- https://gitlab.matrix.org/matrix-org/olm/-/tags
- https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk
- https://www.debian.org/security/2022/dsa-5034
- https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.