CVEfocus › CVE database › CVE-2021-44538

CVE-2021-44538

CVSS 9.8 CriticalEPSS 2.0% (higher than 81% of CVEs)Published 2021-12-14Updated 2024-08-04Assigner: mitre

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

28Fixed
2Fix pending
5Under investigation
5Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10olmFix pendingUBUNTU-CVE-2021-44538
Ubuntu 26.04olmUnder investigationUBUNTU-CVE-2021-44538
Ubuntu 25.10olmWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-44538
Ubuntu 24.04node-matrix-js-sdkUnder investigationUBUNTU-CVE-2021-44538
Ubuntu 24.04olmUnder investigationUBUNTU-CVE-2021-44538
Ubuntu 22.04node-matrix-js-sdkUnder investigationUBUNTU-CVE-2021-44538
Ubuntu 22.04olmUnder investigationUBUNTU-CVE-2021-44538
Ubuntu 22.04thunderbirdFixed1:91.5.0+build1-0ubuntu1UBUNTU-CVE-2021-44538
Ubuntu 20.04node-matrix-js-sdkWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-44538
Ubuntu 20.04olmFix pendingUBUNTU-CVE-2021-44538
Ubuntu 20.04thunderbirdFixed1:91.5.0+build1-0ubuntu0.20.04.1UBUNTU-CVE-2021-44538
Ubuntu 18.04olmWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-44538
Ubuntu 18.04thunderbirdFixed1:91.5.0+build1-0ubuntu0.18.04.1UBUNTU-CVE-2021-44538
Ubuntu 16.04thunderbirdWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04thunderbirdWill not fix
Ubuntu decided not to fix this in this release
Debian 14olmFixed3.2.8~dfsg-1DEBIAN-CVE-2021-44538
Debian 14thunderbirdFixed1:91.4.1-1DEBIAN-CVE-2021-44538
Debian 13olmFixed3.2.8~dfsg-1DEBIAN-CVE-2021-44538
Debian 13thunderbirdFixed1:91.4.1-1DEBIAN-CVE-2021-44538
Debian 12olmFixed3.2.8~dfsg-1DEBIAN-CVE-2021-44538
Debian 12thunderbirdFixed1:91.4.1-1DEBIAN-CVE-2021-44538
Alpine Linux 3.24element-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.23element-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.23thunderbirdFixed91.4.1-r0ALPINE-CVE-2021-44538
Alpine Linux 3.22element-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.22thunderbirdFixed91.4.1-r0ALPINE-CVE-2021-44538
Alpine Linux 3.21element-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.21thunderbirdFixed91.4.1-r0ALPINE-CVE-2021-44538
Alpine Linux 3.20element-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.20thunderbirdFixed91.4.1-r0ALPINE-CVE-2021-44538
Alpine Linux 3.19element-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.19thunderbirdFixed91.4.1-r0ALPINE-CVE-2021-44538
Alpine Linux 3.18element-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.18thunderbirdFixed91.4.1-r0ALPINE-CVE-2021-44538
Alpine Linux 3.17riot-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.17thunderbirdFixed91.4.1-r0ALPINE-CVE-2021-44538
Alpine Linux 3.16riot-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.16thunderbirdFixed91.4.1-r0ALPINE-CVE-2021-44538
Alpine Linux 3.15riot-webFixed1.9.7-r0ALPINE-CVE-2021-44538
Alpine Linux 3.14riot-webFixed1.9.7-r0ALPINE-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:

References

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.