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.
{
"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"
}{
"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": "ed148665d211ae97d4672437561ddeccf8556f0d"
}
],
"source": "REFERENCES_TAG"
}
]
}