Denis is Element’s Head of Security, and a security researcher and programmer working on the Matrix protocol. Denis started in native application security before moving into web and API security and penetration testing, with a particular interest in fuzzing and formal methods. In 2021, during an internal audit at Element, Denis discovered CVE-2021-40823 and CVE-2021-40824, an end-to-end encryption vulnerability in several Matrix clients.

Posts

  • Deep dive

    Analysis of reported issues in vodozemac

    A blog post published on 2026-02-17 alleged a series of vulnerabilities in vodozemac, Matrix’s Rust cryptographic library. The Matrix.org Security Team confirms that the Olm 3DH code path does not reject all-zero X25519 outputs, and agrees to add that check as defence-in-depth, but disputes that it breaks confidentiality given Matrix’s authenticated key distribution. It also acknowledges the truncated 64-bit authentication tags in Olm v1 as a trade-off, and concludes that none of the reported issues is a practically exploitable vulnerability.

    By Denis Kasak

  • Deep dive

    Adventures in fuzzing libolm

    Overhauling libolm’s fuzzing setup uncovered bugs that had crept in since the library’s original audit in 2016: an invalid one-byte read in the base64 decoder and a server-controlled stack buffer overflow in olm_pk_decrypt, which affects Matrix clients supporting room key backup. The bugs were not easily exploitable, if at all, and have been fixed in libolm 3.2.3 and in the affected Element clients.

    By Denis Kasak

Elsewhere