BreachSpiderVerified, not vibes

CVE-2021-44538 in Cinny Project Cinny and 5 more products

Critical 9.8

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

Affects 6 products from 4 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS2.0%
EPSS percentile81th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Cinny Project Cinny < 1.6.0
Debian Debian Linux 9.0 10.0 11.0
Matrix Olm ≥ 3.1.4, < 3.2.8
Matrix Javascript Sdk ≥ 2.4.2, < 15.2.1
Matrix Element < 1.9.7
Schildi Schildichat < 1.9.7-sc1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-44538
BreachSpider IDBS-2021-GLOBAL-301058-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2021-12-14
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-119: Improper Restriction of Operations within Memory Buffer

Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.

Related attack patterns (CAPEC)

CAPEC-8 Buffer Overflow in an API Call via CWE-119

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-119

CAPEC-10 Buffer Overflow via Environment Variables via CWE-119

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-119

CAPEC-24 Filter Failure through Buffer Overflow via CWE-119

Show all 12

CAPEC-42 MIME Conversion via CWE-119

CAPEC-44 Overflow Binary Resource File via CWE-119

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-119

CAPEC-46 Overflow Variables and Tags via CWE-119

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-119

CAPEC-100 Overflow Buffers via CWE-119

CAPEC-123 Buffer Manipulation via CWE-119

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A buffer overflow vulnerability exists in the olm_session_describe function in Matrix libolm before version 3.2.7, allowing attackers to manipulate the state of the receiver's session through a crafted sequence of messages.

The vulnerability is triggered by a buffer overflow in the olm_session_describe function, which can be exploited by sending a specially crafted sequence of messages to the target system. This can lead to arbitrary code execution or other malicious actions.

Questions

What is CVE-2021-44538?

A buffer overflow vulnerability exists in the olm_session_describe function in Matrix libolm before version 3.2.7, allowing attackers to manipulate the state of the receiver's session through a crafted sequence of messages.

What is the CVSS score for CVE-2021-44538?

CVE-2021-44538 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.0%.

Is CVE-2021-44538 actively exploited?

No confirmed active exploitation of CVE-2021-44538 as of 2026-09-25.

How do I remediate CVE-2021-44538?

Priority: IMMEDIATE. Advisory: https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk PSIRT: [email protected]

What systems are affected by CVE-2021-44538?

CVE-2021-44538 affects Cinny Project Cinny; Debian Debian Linux; Matrix Olm, Javascript Sdk, Element; Schildi Schildichat.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Cinny Project","product":"Cinny","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.