GHSA-pqp6-f7wc-6498: Panic when decoding malformed Ed25519 keys from Base64
Published 2026-11-11 · Updated 2026-11-12 · Also known as RUSTSEC-2026-0510
Summary
The vodozemac crate panics when decoding malformed Base64 Ed25519 keys that result in 31 or 33 bytes instead of 32 bytes. Engineering teams using vodozemac in Matrix clients or servers should update their dependencies.
Who is affected
Applications parsing Ed25519 public keys received from other Matrix users and servers are vulnerable to a denial of service. An attacker can supply a crafted key to crash the application, though no key disclosure or signature forgery is possible.
Exploitability
The CVSS vector is not provided, EPSS is not yet available, and CISA KEV status is no. The vulnerability can be exploited by an attacker who can supply a malformed key to an application using vodozemac.
Remediation
- Upgrade the crates.io vodozemac package to version 0.11.2 or later.
How to check your project
- Check Cargo.lock or Cargo.toml for references to the vodozemac crate within the affected version range (introduced 0.0.0-0, fixed 0.11.2).
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | vodozemac |
>= 0.0.0-0, < 0.11.2 | 0.11.2 | cargo update -p vodozemac --precise 0.11.2 |
FAQ
What causes the panic in vodozemac?
Ed25519PublicKey::from_base64() and Ed25519SecretKey::from_base64() panic on malformed input if it decodes to 31 or 33 bytes instead of the expected 32 bytes.
Can this vulnerability lead to key disclosure or signature forgery?
No, the impact is strictly limited to denial of service.
What versions of vodozemac are affected?
Version 0.11.1 and earlier are affected, while version 0.11.2 contains the fix.
Original advisory description
References
- PACKAGE https://crates.io/crates/vodozemac
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0510.html
- WEB https://github.com/matrix-org/vodozemac/pull/453
Source records: RUSTSEC-2026-0510 (OSV.dev).