CVE catalog

CVE-2022-39254

python-matrix-nio: CVE-2022-39254

[CVE catalog]

Severity
Medium
Source
[NVD] · [CVE record]
EPSS
0.68% · Oct 25, 2026

matrix-nio is a Python Matrix client library, designed according to sans I/O principles. Prior to version 0.20, when a users requests a room key from their devices, the software correctly remember the request. Once they receive a forwarded room key, they accept it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack. Version 0.20 fixes the issue.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-matrix-niosid0.25.2-2fixed
Debianpython-matrix-nioforky0.25.2-2fixed
Debianpython-matrix-niotrixie0.25.2-1fixed
Debianpython-matrix-niobookworm0.20.1-3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-matrix-niosourcesid0.20.0-1not yet assignedNot reportedNot reported
Debianpython-matrix-niosourceforky0.20.0-1not yet assignedNot reportedNot reported
Debianpython-matrix-niosourcetrixie0.20.0-1not yet assignedNot reportedNot reported
Debianpython-matrix-niosourcebookworm0.20.0-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-matrix-nio]

    Details (2)
    • 0.20.1-3 · all · bookworm

      Fixed · Fixed: 0.20.0-1

      dsa · python-matrix-nio · debian · bookworm

    • 0.20.1-3 · all · bookworm

      Fixed · Fixed: 0.20.0-1

      dsa · python-matrix-nio · debian · bookworm

  • Source package: [python-matrix-nio]

    Details (2)
    • 0.20.1-3 · all · bookworm

      Fixed · Fixed: 0.20.0-1

      dsa · python-matrix-nio · debian · bookworm

    • 0.20.1-3 · all · bookworm

      Fixed · Fixed: 0.20.0-1

      dsa · python-matrix-nio · debian · bookworm

Observed:

References