# CVE-2021-44538

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-12-14 · Modified: 2024-08-04
- Aliases: MGASA-2021-0571, UBUNTU-CVE-2021-44538, DEBIAN-CVE-2021-44538, ALPINE-CVE-2021-44538
- Record: https://cvemate.com/vulnerability/CVE-2021-44538 · JSON: https://cvemate.com/vulnerability/CVE-2021-44538/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.001%, percentile 81.452%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine element-web (Alpine Linux): \< 1.9.7-r0
- alpine riot-web (Alpine Linux): \< 1.9.7-r0
- alpine thunderbird (Alpine Linux): \< 91.4.1-r0
- cinny\_project cinny: \< 1.6.0
- debian olm (Debian): \< 3.2.8~dfsg-1
- debian thunderbird (Debian): \< 1:91.4.1-1
- ubuntu node-matrix-js-sdk (Ubuntu): All versions (No fix recorded)
- ubuntu olm (Ubuntu): All versions (No fix recorded)
- ubuntu thunderbird (Ubuntu): \< 1:91.5.0+build1-0ubuntu0.18.04.1 \| \< 1:91.5.0+build1-0ubuntu0.20.04.1 \| \< 1:91.5.0+build1-0ubuntu1
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- mageia olm (Mageia): \< 3.2.1-1.1.mga8
- matrix element: \< 1.9.7
- matrix javascript\_sdk: ≥ 2.4.2, \< 15.2.1
- matrix olm: ≥ 3.1.4, \< 3.2.8
- schildi schildichat: \< 1.9.7-sc1

## 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>
- <https://advisories.mageia.org/MGASA-2021-0571.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29773>
- <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>
- <https://security-tracker.debian.org/tracker/CVE-2021-44538>
- <https://security.alpinelinux.org/vuln/CVE-2021-44538>

---

Data as of 2026-12-05T05:06:02.207Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
