{"answers":{"affected":"3 open source packages ship an affected version, including matrix-sdk-base. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-66622 in the wild and no public exploit code.","fix":"Upgrade matrix-sdk-base to 0.16.0 or later.","what":"CVE-2025-66622 is a low-severity denial of service vulnerability in matrix-org matrix-rust-sdk, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-66622 and fix it if it is affected.\n\nWhat it is: CVE-2025-66622 is a low-severity denial of service vulnerability in matrix-org matrix-rust-sdk, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-66622 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- matrix-sdk-base (crates.io): affected all versions; fixed in 0.16.0\n- matrix-sdk-base (crates.io): affected all versions; fixed in 0.16.0\n- matrix-sdk-base (crates.io): affected from 0.0.0-0; fixed in 0.16.0\n\nTask:\n1. 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.\n2. 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.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-66622/ (Markdown: https://insights.sbomify.com/CVE-2025-66622/index.md)","id":"CVE-2025-66622","markdown":"https://insights.sbomify.com/CVE-2025-66622/index.md","name":"CVE-2025-66622","record":{"aliases":["GHSA-jj6p-3m75-g2p3","RUSTSEC-2025-0135"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Matrix client library","requires_auth":"none","summary":"Attackers can cause a denial of service in Matrix clients by inviting users to rooms with custom join rules, stalling the sync process.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"matrix-rust-sdk","vendor":"matrix"}],"cvss":{"score":1.3,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","version":"4.0"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"description":"matrix-sdk-base is the base component to build a Matrix client library. Versions 0.14.1 and prior are unable to handle responses that include custom m.room.join_rules values due to a serialization bug. This can be exploited to cause a denial-of-service condition, if a user is invited to a room with non-standard join rules, the crate's sync process will stall, preventing further processing for all rooms. This is fixed in version 0.16.0.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"matrix-sdk-base is vulnerable to DoS via custom m.room.join_rules event values","id":"CVE-2025-66622","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":3,"n_references":4,"next":{"headline":"Strimzi allows unrestricted access to all Secrets in the same Kubernetes namespace from Kafka Connect and MirrorMaker 2 operands","id":"CVE-2025-66623"},"packages":[{"ecosystem":"crates.io","fixed":["0.16.0"],"introduced":["0"],"last_affected":[],"package":"matrix-sdk-base","purl":null,"source":"GHSA-jj6p-3m75-g2p3"},{"ecosystem":"crates.io","fixed":["0.16.0"],"introduced":["0"],"last_affected":[],"package":"matrix-sdk-base","purl":"pkg:cargo/matrix-sdk-base","source":"GHSA-jj6p-3m75-g2p3"},{"ecosystem":"crates.io","fixed":["0.16.0"],"introduced":["0.0.0-0"],"last_affected":[],"package":"matrix-sdk-base","purl":"pkg:cargo/matrix-sdk-base","source":"RUSTSEC-2025-0135"}],"prev":{"headline":"Columbia Weather Systems MicroServer Command Shell in Externally Accessible Directory","id":"CVE-2025-66620"},"products":["matrix-rust-sdk"],"published":"2025-12-09","related":[{"cvss_score":8.6,"headline":"matrix-sdk-crypto contains potential impersonation via room key forward responses","id":"CVE-2022-39252","kev_date_added":null,"published":"2022-09-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-09","vendors":["matrix-org"]},"summary":"Attackers can cause a denial of service in Matrix clients by inviting users to rooms with custom join rules, stalling the sync process.","url":"https://insights.sbomify.com/CVE-2025-66622/"}