Technical impact
The vulnerability is a timing side‑channel in the pure‑Erlang implementation of X25519 scalar multiplication in the jose library. The algorithm uses a recursive Montgomery ladder whose internal arithmetic operations depend on the binary representation of the secret scalar, causing measurable variations in execution time. This allows an attacker who can trigger the public decryption API and measure its latency to recover the long‑term private key bit by bit, violating the confidentiality guarantees of X25519.
Affected Systems
The issue affects the potatosalad jose library, versions starting at 1.10.0 up to, but not including, 1.11.13. Versions prior to 1.10.0 do not contain the pure‑Erlang fallback and are therefore not impacted.
Risk and Exploitability
The CVSS base score of 5.9 indicates moderate severity, while the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be a remote timing attack where an adversary submits ciphertexts to a service that performs JWE decryption and measures the response time. With sufficient timing samples, the attacker can reconstruct the private key, thereby compromising all data protected by that key. The overall risk is considered moderate but non‑negligible, especially for systems that rely on long‑term keys and expose the decryption API to potential attackers.