CVE-2026-45056

Source
https://cve.org/CVERecord?id=CVE-2026-45056
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45056.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45056
Aliases
Published
2026-09-11T21:13:56Z
Modified
2026-11-04T02:47:35Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution
Details

matrix-sdk-crypto is a no-network-IO implementation of a state machine that handles end-to-end encryption for Matrix clients. Starting in version 0.12.0 and prior to version 0.17.0, the matrix-sdk-crypto crate was missing a check for the user ID when decrypting an Olm-encrypted event containing the sender_device_keys property. This could be exploited to forge an encrypted to-device event, but only if the attacker colludes with the homeserver operator. This issue is fixed in matrix-sdk-crypto 0.17.0. There are no known workarounds for the issue.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-290"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45056.json"
}
References

Affected packages

Git / github.com/matrix-org/matrix-rust-sdk

Affected ranges

Type
GIT
Repo
https://github.com/matrix-org/matrix-rust-sdk
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0.12.0"
                },
                {
                    "fixed": "0.16.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "original_tag": "matrix-sdk-0.16.1",
            "range": [
                {
                    "fixed": "5fae3ff34ed17f1f416803d0de49ba1ed326f175"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

ruma-0.*
ruma-0.7.0
ruma-0.7.1
ruma-0.7.2
ruma-0.7.3
ruma-0.8.0
ruma-0.8.1
ruma-appservice-api-0.*
ruma-appservice-api-0.8.0
ruma-appservice-api-0.8.1
ruma-client-0.*
ruma-client-0.11.0
ruma-client-api-0.*
ruma-client-api-0.16.0
ruma-common-0.*
ruma-common-0.10.1
ruma-common-0.10.2
ruma-common-0.10.3
ruma-common-0.11.0
ruma-common-0.11.1
ruma-common-0.11.2
ruma-common-0.11.3
ruma-federation-api-0.*
ruma-federation-api-0.7.0
ruma-identity-service-api-0.*
ruma-identity-service-api-0.7.0
ruma-push-gateway-api-0.*
ruma-push-gateway-api-0.7.0
ruma-server-util-0.*
ruma-server-util-0.1.0
ruma-signatures-0.*
ruma-signatures-0.12.0
ruma-signatures-0.13.0
ruma-state-res-0.*
ruma-state-res-0.8.0
ruma-state-res-0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45056.json"