Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-65630 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

Observable Timing Discrepancy vulnerability in potatosalad jose allows recovery of a long-term X25519 private key through a timing side channel in the pure-Erlang Curve25519 fallback. The pure-Erlang X25519 implementation performs scalar multiplication over the secret private key using a recursive Montgomery ladder (jose_jwa_x25519:curve25519/2) whose clauses branch on individual bits of the clamped private scalar, and whose per-step operations (jose_jwa_x25519:montgomery_add/3 and jose_jwa_x25519:montgomery_double/1) and field inversion are built from value-dependent Erlang bignum arithmetic (multiplication, remainder, and modular exponentiation). Although the ladder is operation-count balanced and fixed at 254 steps, the concrete integer values processed at each step, and therefore the running time, depend on the secret scalar. The execution time of the public entry points jose_jwa_x25519:scalarmult/2, jose_jwa_x25519:x25519/2, jose_jwa_x25519:x25519_base/1, and jose_jwa_x25519:sk_to_pk/1 is thus a function of the private key. This path is reachable from the public API, most notably when a service decrypts attacker-supplied ECDH-ES (JWE) messages with a long-term X25519 key (for example through JOSE.JWK.box_decrypt_ecdh_es/2, which reaches jose_jwa_curve25519:x25519_shared_secret/2 and the ladder). An attacker who can submit ciphertexts and measure decryption timing can, in principle, recover the private key bit by bit, defeating the resistance X25519 was designed to provide. Recovery of the key compromises the confidentiality and authenticity of all data protected by it. This issue affects jose: from 1.10.0 before 1.11.13.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-208Observable Timing DiscrepancyEEF

Affected Products

ProductVersions
potatosalad jose
>= 1.10.0, < 1.11.13 (semver)

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: 1.11.13moderate effort
  • Workaround:low effort

    Disable the pure-Erlang Curve25519 fallback by setting `crypto_fallback` to `false` in the `jose` application environment, or by calling `jose:crypto_fallback(false)` / `JOSE.crypto_fallback(false)` at startup. Confirm that `jose:crypto_fallback()` returns `false`.

  • Mitigation:low effort

    Use a constant-time native X25519 implementation for private-key operations, such as installing the libsodium or libdecaf NIF, or running on an OTP release that provides `x25519`. Do not enable the pure-Erlang Curve25519 fallback (`JOSE.crypto_fallback(true)` or `JOSE.curve25519_module(:jose_jwa_curve25519)`) for long-lived keys.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-65630
NVD Published Date:
Oct 26, 2026
NVD Last Modified:
Nov 2, 2026
Source:
EEF
CVE-2026-65630 Details - Not Deferred