---
title: CVE-2021-44538
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2021-44538
---

# CVE-2021-44538

Publication date 14 December 2021

Last updated 11 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2021-44538#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| olm | 26.10 stonking | Needs evaluation |
| 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 23.10 mantic | Ignored end of life, was needs-triage |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.10 kinetic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Needs evaluation |
| 21.10 impish | Ignored end of life |
| 21.04 hirsute | Ignored end of life |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| node-matrix-js-sdk | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 23.10 mantic | Ignored end of life, was needs-triage |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.10 kinetic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Needs evaluation |
| 21.10 impish | Ignored end of life |
| 21.04 hirsute | Ignored end of life |
| 20.04 LTS focal | Needs evaluation |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| thunderbird | 26.10 stonking | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 26.04 LTS resolute | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 25.10 questing | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 25.04 plucky | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 24.10 oracular | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 24.04 LTS noble | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 23.10 mantic | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 23.04 lunar | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 22.10 kinetic | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 22.04 LTS jammy | Fixed in 1:91.5.0+build1-0ubuntu1 |
| 21.10 impish | Fixed in 1:91.5.0+build1-0ubuntu0.21.10.1 |
| 21.04 hirsute | Ignored end of life |
| 20.04 LTS focal | Fixed in 1:91.5.0+build1-0ubuntu0.20.04.1 |
| 18.04 LTS bionic | Fixed in 1:91.5.0+build1-0ubuntu0.18.04.1 |
| 16.04 LTS xenial | Ignored end of standard support |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44538)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-44538)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2021-44538)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2021-44538)

### Related Ubuntu Security Notices (USN)

+ [USN-5246-1](https://usn.ubuntu.com/USN-5246-1)
+ Thunderbird vulnerabilities
+ 21 January 2022

+ [USN-5248-1](https://usn.ubuntu.com/USN-5248-1)
+ Thunderbird vulnerabilities
+ 21 January 2022

### Other references

* <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://www.cve.org/CVERecord?id=CVE-2021-44538>
