{"schemaVersion":3,"id":"CVE-2026-45056","aliases":["GHSA-wfq4-36m3-9g42","RUSTSEC-2026-0159"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-09-11T21:13:56.332Z","modified":"2026-09-14T18:17:31.910Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Crates.io","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00308,"percentile":0.22135,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.07399999999999998,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00234},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00308,"percentile":0.22135}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00308,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00308,"percentile":0.22135}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing","description":"This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/290.html"}],"affected":[{"vendor":"Crates.Io","product":"matrix-sdk-crypto","name":"matrix-sdk-crypto","label":"matrix-sdk-crypto","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/matrix-sdk-crypto","purlType":"cargo","versions":[{"text":"≥ 0.12.0, < 0.16.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.12.0, < 0.16.1","eol":null,"hubHref":null},{"vendor":"matrix-org","product":"matrix-rust-sdk","name":"matrix-rust-sdk","label":"matrix-rust-sdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.12.0, < 0.16.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.12.0, < 0.16.1","eol":null,"hubHref":"/vendor/matrix-org/matrix-rust-sdk"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42","label":"github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/pull/6553","label":"github.com/matrix-org/matrix-rust-sdk/pull/6553","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1","label":"github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0159.html","label":"rustsec.org/advisories/RUSTSEC-2026-0159.html","hostname":"rustsec.org","tags":["X Refsource MISC","WEB","Advisory"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk","label":"github.com/matrix-org/matrix-rust-sdk","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/matrix-sdk-crypto","label":"crates.io/crates/matrix-sdk-crypto","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-11T21:13:56.332Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-14T18:17:31.910Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:40:37.274Z","stale":false,"partial":false}}