# GHSA-wchh-9x6h-7f6p: olm dependency deprecation: CVE-2022-39255 and CVE-2024-45193

> Vulnerabilities in the libolm cryptographic library allow side-channel attacks and signature malleability, compromising Matrix encryption security.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 29 Jul 2026

## What is GHSA-wchh-9x6h-7f6p?

GHSA-wchh-9x6h-7f6p is a vulnerability in matrix-commander, published on 29 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

### Problem

Multiple vulnerabilities were disclosed in 2024 affecting libolm (Olm): AES timing / side‑channel, Ed25519 signature malleability, and timing leaks in base64 decoding; several CVEs were assigned. Patches and mitigations were published; maintainers recommend upgrading to fixed versions. In addition, a 2022 “Olm/Megolm protocol confusion” advisory affecting some SDKs was critical and required client-side fixes. Use patched versions of libolm and up-to-date Matrix SDKs; avoid unpatched clients/servers.

Olm is a dependency of `matrix-commander` (Python version, not Rust version).

WARNING:

Due to cryptographic [olm dependency deprecation](https://github.com/8go/matrix-commander/issues/204#issuecomment-3523986979), this program is cryptographically unsafe to use until https://github.com/matrix-nio/matrix-nio/pull/555 is merged. Good news: https://github.com/8go/matrix-commander-rs is a Rust alternative not having this issue.

### References
- CVE-2022-39255
- CVE-2024-45193
- https://soatok.blog/2024/08/14/security-issues-in-matrixs-olm-library/
- https://nvd.nist.gov/nvd.cfm?cvename=CVE-2024-45193
- https://github.com/matrix-org/matrix-ios-sdk/security/advisories/GHSA-hw6g-j8v6-9hcm

### Workarounds
- use the Rust version: https://github.com/8go/matrix-commander-rs 

### Severity:

Medium

CVE-2022-39255 — MEDIUM (NVD/MITRE lists CVSS base score 5.x — treated as Medium).

CVE-2024-45193 — MEDIUM (NVD shows CVSS 3.1 base score ~4.3 — Medium)

## Which versions are affected by GHSA-wchh-9x6h-7f6p?

2 open source packages ship an affected version, including matrix-commander.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `matrix-commander` | PyPI | All versions to 8.0.6 | None |
| `matrix-commander` | PyPI | All versions to 8.0.6 | None |

## How do I fix GHSA-wchh-9x6h-7f6p?

No fix has been published for GHSA-wchh-9x6h-7f6p yet. Limit exposure of the affected software until one is available.

## Is GHSA-wchh-9x6h-7f6p being exploited?

There is no known exploitation of GHSA-wchh-9x6h-7f6p in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-wchh-9x6h-7f6p and fix it if it is affected.

What it is: GHSA-wchh-9x6h-7f6p is a vulnerability in matrix-commander, published on 29 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-wchh-9x6h-7f6p in the wild and no public exploit code.

Affected packages and fixed versions:
- matrix-commander (PyPI): affected all versions up to 8.0.6; no fix listed
- matrix-commander (PyPI): affected all versions up to 8.0.6; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-wchh-9x6h-7f6p/ (Markdown: https://insights.sbomify.com/GHSA-wchh-9x6h-7f6p/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-wchh-9x6h-7f6p

---
From sbomify Insights: https://insights.sbomify.com/GHSA-wchh-9x6h-7f6p/
Summaries are generated and may contain mistakes; the official description above is the record.
