CVE-2026-65630
Last modified
CVE-2026-65630 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| potatosalad | jose | >= 1.10.0, < 1.11.13 |
| potatosalad | jose | >= 8e532095de114ef4bf88a9ec5d651fa251a972b3, < 3670f873c274bba86fb7f5ee5727a7efa1322b79 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-65630?
How severe is CVE-2026-65630?
How do I fix CVE-2026-65630?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-65625The pure-Erlang AES-GCM fallback in jose_jwa_aes derives the…5.9
- CVE-2026-65626The pure-Erlang RSAES-PKCS1-v1_5 decryption in the jose_jwa_…5.9
- CVE-2026-65627Improper Handling of Highly Compressed Data (Data Amplificat…6.9
- CVE-2026-65628jose_jwk:shared_secret/2 (exposed in Elixir as JOSE.JWK.shar…5.9
- CVE-2026-65629Use of Password Hash With Insufficient Computational Effort …7.4
- CVE-2026-6563A vulnerability has been found in H3C Magic B1 up to 100R004…8.8
- CVE-2026-65631Inefficient Algorithmic Complexity in erlang-jose allows an …6.9
- CVE-2026-65632The jose library accepts ECDSA (ES256, ES256K, ES384, and ES…5.1
- CVE-2026-65633Improper Authentication vulnerability in team-alembic AshAut…7.6
- CVE-2026-65634Inefficient algorithmic complexity in the Erlang/OTP asn1 OB…8.2
- CVE-2026-65635Improper Isolation or Compartmentalization vulnerability in …8.3
- CVE-2026-65636Improper Neutralization of CRLF Sequences vulnerability in u…2.1
Are you affected by CVE-2026-65630?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
