Advisory
UBUNTU-CVE-2021-44538
Also known as: CVE-2021-44538
Summary
The record has no summary.
Details
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.
Severity
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Dates
- Published
- 2021-12-14 14:15 UTC
- Modified
- 2026-10-17 12:55 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| thunderbird | Debian packages (deb) · Ubuntu 18.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| olm | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| thunderbird | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| node-matrix-js-sdk | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| node-matrix-js-sdk | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| olm | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| thunderbird | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| node-matrix-js-sdk | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| olm | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| olm | Debian packages (deb) · Ubuntu 25.10 | introduced 0 | No fixed version is listed. |
| olm | Debian packages (deb) · Ubuntu 26.10 | introduced 0 | No fixed version is listed. |
| olm | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2021-44538
- https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk/
- https://www.mozilla.org/en-US/security/advisories/mfsa2021-55/#CVE-2021-44538
- https://ubuntu.com/security/notices/USN-5246-1
- https://ubuntu.com/security/notices/USN-5248-1
- https://www.cve.org/CVERecord?id=CVE-2021-44538
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0