CVE-2026-65630 Timing side-channel in pure-Erlang X25519 scalar multiplication leaks the private key in jose
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux rabbitmq-server(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/erlang-jose(Debian 12) | = 1.11.5-1; = 1.11.6-1; = 1.11.6-1~bpo12+1; = 1.11.10-1 +9 more | No fix listed | No fix yet |
| debian/erlang-jose(Debian 13) | = 1.11.10-1; = 1.11.12-1; = 1.11.12-1.1; = 1.11.12-2 +5 more | No fix listed | No fix yet |
| ubuntu/jose(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/jose(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/jose(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/jose(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/erlang-jose(Debian 14) | < 1.11.13-1; = 1.11.10-1; = 1.11.12-1; = 1.11.12-1.1 +4 more | 1.11.13-1 | Fixed |
| potatosalad jose | >= 1.10.0, < 1.11.13; >= 8e532095de114ef4bf88a9ec5d651fa251a972b3, < 3670f873c274bba86fb7f5ee5727a7efa1322b79 | 1.11.13, 3670f873c274bba86fb7f5ee5727a7efa1322b79 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/erlang-jose(Debian:12) | All versions | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.10-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.10-1~bpo12+1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-1.1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-2 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-2~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-3 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-3~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.13-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.5-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.6-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.6-1~bpo12+1 | No fix listed |
| debian/erlang-jose(Debian:13) | All versions | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.10-1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-1.1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-2 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-2~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-3 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-3~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.13-1 | No fix listed |
| debian/erlang-jose(Debian:14) | < 1.11.13-1 | 1.11.13-1 |
| debian/erlang-jose(Debian:14) | = 1.11.10-1 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-1 | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/erlang-jose(Debian:14) | = 1.11.12-1.1 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-2 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-2~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-3 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-3~bpo13+1 | No fix listed |
| ubuntu/jose(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/jose(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/jose(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/jose(Ubuntu:26.10) | All versions | No fix listed |
| potatosalad jose | >= 1.10.0, < 1.11.13 | 1.11.13 |
| potatosalad jose | >= 8e532095de114ef4bf88a9ec5d651fa251a972b3, < 3670f873c274bba86fb7f5ee5727a7efa1322b79 | 3670f873c274bba86fb7f5ee5727a7efa1322b79 |
| azure linux rabbitmq-server(Azure Linux:3.0) | All versions | No fix listed |
References
- github.com exploit related vendor-advisory
- EEF CNA record for CVE-2026-65630 related
- OSV record EEF-CVE-2026-65630 related
- Introducing commit 8e53209 in potatosalad/erlang-jose related
- Fix commit 3670f87 in potatosalad/erlang-jose patch
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2561061 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-65630 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-110311 third-party-advisory