[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-680422-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-680422-en":130,"doc-similar-680422":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","practically-exploitable-cryptographic-vulnerabilities-in-matrix","Practically-exploitable Cryptographic Vulnerabilities in Matrix","","Report on practically-exploitable cryptographic vulnerabilities affecting the Matrix standard for federated real-time communication and the Element client/prototype. The findings invalidate confidentiality and authentication guarantees claimed by Matrix against a malicious server, despite Matrix relying on well-known cryptographic building blocks. Exploited weaknesses span insecure design choices, protocol confusion, lack of domain separation, and implementation bugs across multiple subprotocols and libraries forming Matrix and Element’s cryptographic core, motivating systematic formal analysis.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/practically-exploitable-cryptographic-vulnerabilities-in-matrix/680422/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/practically-exploitable-cryptographic-vulnerabilities-in-matrix/680422.png","ImageObject",300,407,{"name":42,"@type":43},"Well Done","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-11-05",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What are the main vulnerabilities the paper reports in Matrix?","Question",{"text":62,"@type":63},"The paper reports practically-exploitable cryptographic vulnerabilities that break Matrix’s claimed confidentiality and authentication guarantees against a malicious server.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Why do the vulnerabilities matter even though Matrix uses well-studied cryptographic building blocks?",{"text":67,"@type":63},"The vulnerabilities arise from multiple issues across the cryptographic system, including insecure-by-design components, protocol confusion, missing domain separation, and implementation bugs.",{"name":69,"@type":60,"acceptedAnswer":70},"Which Matrix cryptographic parts are emphasized as central to security analysis?",{"text":71,"@type":63},"The paper highlights the Megolm group messaging protocol, which extends Olm to support group chat, and notes that in Matrix many chats are group chats, making Megolm central to understanding security guarantees.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},680422,1793916570,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":33,"preview_urls":145},5909892210082,"https://ap-avatar.wpscdn.com/avatar/56001069da27c9f41e8?x-image-process=image/resize,m_fixed,w_180,h_180&k=1789614185077863061","2023 IEEE Symposium on Security and Privacy (SP) | 978-1-6654-9336-9/23/$31.00 ©2023 IEEE | DOI: 10. 1 109/ SP46215 .2023. 10351027  \n2023 IEEE Symposium on Security and Privacy (SP)  \nPractically-exploitable Cryptographic Vulnerabilities in Matrix  \nMartin R. Albrecht∗ , Sofía Celi†, Benjamin Dowling‡ and Daniel Jones§  \n∗ King’s College London, [martin.albrecht@kcl.ac.uk](martin.albrecht@kcl.ac.uk)[ ](martin.albrecht@kcl.ac.uk)† Brave Software, [cherenkov@riseup.net](cherenkov@riseup.net)  \n‡ Security of Advanced Systems Group, University of Shefﬁeld, b.dowling@shefﬁ[eld.ac.uk](eld.ac.uk)[ ](eld.ac.uk)§ Information Security Group, Royal Holloway, University of London, [dan.jones@rhul.ac.uk](dan.jones@rhul.ac.uk)  \nAbstract—We report several practically-exploitable cryptographic vulnerabilities in the Matrix standard for federated realtime communication and its ﬂagship client and prototype implementation, Element. These, together, invalidate the conﬁdentiality and authentication guarantees claimed by Matrix against a malicious server. This is despite Matrix’ cryptographic routines being constructed from well-known and -studied cryptographic building blocks. The vulnerabilities we exploit differ in their nature (insecure by design, protocol confusion, lack of domain separation, implementation bugs) and are distributed broadly across the different subprotocols and libraries that make up the cryptographic core of Matrix and Element. Together, these vulnerabilities highlight the need for a systematic and formal analysis of the cryptography in the Matrix standard.  \nI. INTRODUCTION  \nMatrix [1] is an open standard and communication protocol roughly aiming to do for real-time communication what SMTP does for email. In particular, the speciﬁcation deﬁnesa federated communication protocol allowing clients, with accounts on different Matrix servers (their homeservers), to exchange messages across the entire ecosystem. Since this setting inherently involves untrusted third party servers, the speciﬁcation enables end-to-end encryption by default.1  \nWhile Matrix’ federated nature makes it difﬁcult to assess how widely it is used, several notable organisations andinstitutions have adopted it or announced plans to do so. For example, both KDE and Mozilla announced plans to switch their internal communications to Matrix in 2019; the Fourth Estate announced its plans to build an encrypted messenger for journalists and news organisations based on Matrix in 2021; the French government announced plans to create their own instant messaging app – Tchap – based on Matrix which was released in 2019; the German ministry of defence launched BwMessenger – for use in internal, ofﬁcial (and classiﬁed) communication – based on Matrix in 2020 with a view to move over other parts of the German government; the German healthcare system announced its plans to adopt Matrix in 2021 . In March 2021, [matrix.org](matrix.org) – the most popular Matrix server – announced that there are 28 million global visible accounts. The Element (see below) website claims +60M Matrix users.  \n1In addition to standard security considerations such as breaches or lack of trust in a single-server setting.  \nMegolm. Init  \n(􀁓gsk , 􀁓gpk, 􀁦mg)  \n(a) Alice’s device (left) sending Megolm channel information over pairwise Olm channels.  \nMegolm. Encrypt (􀁓gsk, 􀀿)  \n(􀀲)  \n(b) Alice’s device (left) sending payload data over the unidirectional Megolm channel.  \nFig. 1: Alice establishes a Megolm channel (a) and sends a ciphertext (b) .  \nThe most popular implementations of the Matrix server and client are Synapse and Element (Desktop, Android, iOS, Web) respectively. While the security guarantees of Matrix and these popular implementations have received attention from the information security practitioners community – e.g. CVE-2022-31052, CVE-2022-23597, CVE-2021- 41281, CVE-2021-39163, CVE-2021-39164, CVE-2021- 32659, CVE-2021-32622 and CVE-2021-29471 – its bespoke cryptographic protocol ","cbCais0lSqc25Yva","https://ap.wps.com/l/cbCais0lSqc25Yva","pdf",748474,18,"English","# Abstract\n# I. Introduction\n## Matrix overview\n## A. Matrix Overview","[{\"question\":\"What are the main vulnerabilities the paper reports in Matrix?\",\"answer\":\"The paper reports practically-exploitable cryptographic vulnerabilities that break Matrix’s claimed confidentiality and authentication guarantees against a malicious server.\"},{\"question\":\"Why do the vulnerabilities matter even though Matrix uses well-studied cryptographic building blocks?\",\"answer\":\"The vulnerabilities arise from multiple issues across the cryptographic system, including insecure-by-design components, protocol confusion, missing domain separation, and implementation bugs.\"},{\"question\":\"Which Matrix cryptographic parts are emphasized as central to security analysis?\",\"answer\":\"The paper highlights the Megolm group messaging protocol, which extends Olm to support group chat, and notes that in Matrix many chats are group chats, making Megolm central to understanding security guarantees.\"}]","Practically-exploitable Cryptographic Vulnerabilities in Matrix | PDF",45,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/12957759cd958a38766cc6f8cf71370c.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/449a417f58486ecf6ffcad2f79e55934.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c0c9ceed0d154dcca311124902a73066.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b938dec40cee0f6efc9c016ac749e81f.webp",980,1268,{"list":163,"token":11},[164,171,178,184,191,197,204,211,218,225],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},117222,"Privacy-Preserving Machine Learning over Distributed Data","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834460634/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=rp14qZeDvrjjP3BRkvOo%2FKIwxFc%3D","privacy-preserving-machine-learning-over-distributed-data",31,1785674472,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":29,"create_tm":177},123664,"Towards a Near-real-time Protocol Tunneling Detector based on Machine Learning Techniques","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836855201/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=eZc480umgnmO0JlLMjYInHwUDw0%3D","towards-a-near-real-time-protocol-tunneling-detector-based-on-machine-learning-techniques",29,1785817910,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":111,"category_name":29,"create_tm":183},497335,"On Essential Configuration Complexity: Measuring Interactions in Highly-Configurable Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229930035206/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Jmq6PRbqN3xZSo%2BSjtICC70252I%3D","on-essential-configuration-complexity-measuring-interactions-in-highly-configurable-systems",1790952024,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":29,"create_tm":190},85056,"Securing Autonomous Vehicle Systems via Twin-Aware Federated Reinforcement Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809238422/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=b9L79K8eUlFL8oc5ufse9HeM88g%3D","securing-autonomous-vehicle-systems-via-twin-aware-federated-reinforcement-learning",24,1784200683,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":30,"category_name":29,"create_tm":196},692470,"Fixing 7,400 Bugs for 1$ - Cheap Crash-Site Program Repair","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003869150/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=w7Lu1ARwfzyQtavx75sccWl3Z5c%3D","fixing-7400-bugs-for-1-cheap-crash-site-program-repair",1794209797,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":29,"create_tm":203},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=kvVrljo2Yw%2BcfHFqhsvm10ppo9o%3D","xnx-gas-detector-calibration-2023",7896,1776136863,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=2Sr%2BpFVb1kb7xO7bBqCpYCjJ8JY%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6933,1776136851,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=ZkHOUEPblscRBRFyKmb8X6hLrLY%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5866,1788211707,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":29,"create_tm":224},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=3XN9%2FGgzeMlF6pN3JgdM5P%2BvqpY%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1292,1780779716,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":29,"create_tm":231},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=2lfwZ5POu2P5NScDdC7Tc7w%2FEfM%3D","developmental-biology-twelfth-edition",1250,1787780705]