SEVERITY NOT PROVIDED

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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
In version 0.11.1 and earlier of vodozemac, Ed25519PublicKey::from_base64() and Ed25519SecretKey::from_base64() panic on malformed input instead of returning an error, if the input decodes to 31 or 33 bytes instead of the expected 32 bytes. An attacker who can supply a key to an application using vodozemac can crash it. ## Impact Ed25519 public keys are routinely received from other Matrix users and servers, so a malicious party can publish a crafted key that crashes clients parsing it. The impact is limited to denial of service; no key disclosure or signature forgery is possible.

References

Source records: RUSTSEC-2026-0510 (OSV.dev).