Advisory record · GHSA-j8cm-g7r6-hfpq

Usage of non-constant time base64 decoder could lead to leakage of secret key material

CVSS 2.9 LowEPSS 0.0020 · 9th percentile

Published by the GitHub Advisory Database at 17 Jul 2024, 12:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
vodozemaccrates.io>=0.0.0-0, <0.7.00.7.0
Identifiers
GHSA-j8cm-g7r6-hfpq · CVE-2024-40640 · RUSTSEC-2024-0354
Weakness (CWE)
CWE-208
Published
17 Jul 2024
Updated
12 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of vodozemac before 0.7.0 use a non-constant time base64 implementation when importing Megolm group session key material and PkDecryption Ed25519 secret keys. An attacker who can take highly precise timing measurements of repeated base64 encoding or decoding could infer limited information about the secret key material. Upgrade to vodozemac 0.7.0 or later.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
2.9 Low 3.1 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0020, the 9th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:24 UTC First seen by agentprime
  2. 31 Oct 2026, 14:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.