CVE-2026-65630 (GCVE-0-2026-65630)

Vulnerability from cvelistv5 – Published: 2026-10-26 19:54 – Updated: 2026-10-26 19:54
VLAI
Title
Timing side-channel in pure-Erlang X25519 scalar multiplication leaks the private key in jose
Summary
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.
CWE
  • CWE-208 - Observable Timing Discrepancy
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 345 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
potatosalad jose Affected: 1.10.0 , < 1.11.13 (semver)
    cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*
Create a notification for this product.
potatosalad jose Affected: 8e532095de114ef4bf88a9ec5d651fa251a972b3 , < 3670f873c274bba86fb7f5ee5727a7efa1322b79 (git)
    cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "jose_jwa_x25519",
            "jose_jwa_curve25519",
            "jose_curve25519_fallback",
            "jose_jwk_kty_okp_x25519"
          ],
          "packageName": "jose",
          "packageURL": "pkg:hex/jose",
          "product": "jose",
          "programFiles": [
            "src/jwa/jose_jwa_x25519.erl",
            "src/jwa/jose_jwa_curve25519.erl",
            "src/jwa/curve25519/jose_curve25519_fallback.erl",
            "src/jwk/jose_jwk_kty_okp_x25519.erl"
          ],
          "programRoutines": [
            {
              "name": "jose_jwa_x25519:curve25519/2"
            },
            {
              "name": "jose_jwa_x25519:scalarmult/2"
            },
            {
              "name": "jose_jwa_x25519:scalarmult_base/1"
            },
            {
              "name": "jose_jwa_x25519:x25519/2"
            },
            {
              "name": "jose_jwa_x25519:x25519_base/1"
            },
            {
              "name": "jose_jwa_x25519:sk_to_pk/1"
            },
            {
              "name": "jose_jwa_x25519:montgomery_add/3"
            },
            {
              "name": "jose_jwa_x25519:montgomery_double/1"
            },
            {
              "name": "jose_jwa_curve25519:x25519_shared_secret/2"
            },
            {
              "name": "jose_jwa_curve25519:x25519_secret_to_public/1"
            }
          ],
          "repo": "https://github.com/potatosalad/erlang-jose",
          "vendor": "potatosalad",
          "versions": [
            {
              "lessThan": "1.11.13",
              "status": "affected",
              "version": "1.10.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "jose_jwa_x25519",
            "jose_jwa_curve25519",
            "jose_curve25519_fallback",
            "jose_jwk_kty_okp_x25519"
          ],
          "packageName": "potatosalad/erlang-jose",
          "packageURL": "pkg:github/potatosalad/erlang-jose",
          "product": "jose",
          "programFiles": [
            "src/jwa/jose_jwa_x25519.erl",
            "src/jwa/jose_jwa_curve25519.erl",
            "src/jwa/curve25519/jose_curve25519_fallback.erl",
            "src/jwk/jose_jwk_kty_okp_x25519.erl"
          ],
          "programRoutines": [
            {
              "name": "jose_jwa_x25519:curve25519/2"
            },
            {
              "name": "jose_jwa_x25519:scalarmult/2"
            },
            {
              "name": "jose_jwa_x25519:scalarmult_base/1"
            },
            {
              "name": "jose_jwa_x25519:x25519/2"
            },
            {
              "name": "jose_jwa_x25519:x25519_base/1"
            },
            {
              "name": "jose_jwa_x25519:sk_to_pk/1"
            },
            {
              "name": "jose_jwa_x25519:montgomery_add/3"
            },
            {
              "name": "jose_jwa_x25519:montgomery_double/1"
            },
            {
              "name": "jose_jwa_curve25519:x25519_shared_secret/2"
            },
            {
              "name": "jose_jwa_curve25519:x25519_secret_to_public/1"
            }
          ],
          "repo": "https://github.com/potatosalad/erlang-jose",
          "vendor": "potatosalad",
          "versions": [
            {
              "lessThan": "3670f873c274bba86fb7f5ee5727a7efa1322b79",
              "status": "affected",
              "version": "8e532095de114ef4bf88a9ec5d651fa251a972b3",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe vulnerability is only exploitable when X25519 private-key operations run through the pure-Erlang Curve25519 fallback, for example when the crypto fallback is enabled (\u003ccode\u003eJOSE.crypto_fallback(true)\u003c/code\u003e or \u003ccode\u003eJOSE.curve25519_module(:jose_jwa_curve25519)\u003c/code\u003e) or when no constant-time native X25519 implementation (a libsodium or libdecaf NIF, or the OTP \u003ccode\u003ecrypto\u003c/code\u003e application providing \u003ccode\u003ex25519\u003c/code\u003e) is available. Deployments that use a constant-time native X25519 are not affected.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "The vulnerability is only exploitable when X25519 private-key operations run through the pure-Erlang Curve25519 fallback, for example when the crypto fallback is enabled (`JOSE.crypto_fallback(true)` or `JOSE.curve25519_module(:jose_jwa_curve25519)`) or when no constant-time native X25519 implementation (a libsodium or libdecaf NIF, or the OTP `crypto` application providing `x25519`) is available. Deployments that use a constant-time native X25519 are not affected."
            }
          ],
          "value": "The vulnerability is only exploitable when X25519 private-key operations run through the pure-Erlang Curve25519 fallback, for example when the crypto fallback is enabled (JOSE.crypto_fallback(true) or JOSE.curve25519_module(:jose_jwa_curve25519)) or when no constant-time native X25519 implementation (a libsodium or libdecaf NIF, or the OTP crypto application providing x25519) is available. Deployments that use a constant-time native X25519 are not affected."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.11.13",
                  "versionStartIncluding": "1.10.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Andrew Bennett"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eObservable 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.\u003c/p\u003e\n\u003cp\u003eThe pure-Erlang X25519 implementation performs scalar multiplication over the secret private key using a recursive Montgomery ladder (\u003ccode\u003ejose_jwa_x25519:curve25519/2\u003c/code\u003e) whose clauses branch on individual bits of the clamped private scalar, and whose per-step operations (\u003ccode\u003ejose_jwa_x25519:montgomery_add/3\u003c/code\u003e and \u003ccode\u003ejose_jwa_x25519:montgomery_double/1\u003c/code\u003e) 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 \u003ccode\u003ejose_jwa_x25519:scalarmult/2\u003c/code\u003e, \u003ccode\u003ejose_jwa_x25519:x25519/2\u003c/code\u003e, \u003ccode\u003ejose_jwa_x25519:x25519_base/1\u003c/code\u003e, and \u003ccode\u003ejose_jwa_x25519:sk_to_pk/1\u003c/code\u003e is thus a function of the private key.\u003c/p\u003e\n\u003cp\u003eThis 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 \u003ccode\u003eJOSE.JWK.box_decrypt_ecdh_es/2\u003c/code\u003e, which reaches \u003ccode\u003ejose_jwa_curve25519:x25519_shared_secret/2\u003c/code\u003e 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.\u003c/p\u003e\n\u003cp\u003eThis issue affects jose: from 1.10.0 before 1.11.13.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "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.\n\nThe 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.\n\nThis 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.\n\nThis issue affects jose: from 1.10.0 before 1.11.13."
            }
          ],
          "value": "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.\n\nThe 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.\n\nThis 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.\n\nThis issue affects jose: from 1.10.0 before 1.11.13."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-97",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-97 Cryptanalysis"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "HIGH",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-208",
              "description": "CWE-208 Observable Timing Discrepancy",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-26T19:54:07.686Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-xvr2-gggj-h2pp"
        },
        {
          "name": "EEF CNA record for CVE-2026-65630",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-65630.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-65630",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-65630"
        },
        {
          "name": "Introducing commit 8e53209 in potatosalad/erlang-jose",
          "tags": [
            "related"
          ],
          "url": "https://github.com/potatosalad/erlang-jose/commit/8e532095de114ef4bf88a9ec5d651fa251a972b3"
        },
        {
          "name": "Fix commit 3670f87 in potatosalad/erlang-jose",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/potatosalad/erlang-jose/commit/3670f873c274bba86fb7f5ee5727a7efa1322b79"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Timing side-channel in pure-Erlang X25519 scalar multiplication leaks the private key in jose",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eUse a constant-time native X25519 implementation for private-key operations: install the libsodium or libdecaf NIF, or run on an OTP release whose \u003ccode\u003ecrypto\u003c/code\u003e application provides \u003ccode\u003ex25519\u003c/code\u003e, and do not force the pure-Erlang Curve25519 fallback (\u003ccode\u003eJOSE.crypto_fallback(true)\u003c/code\u003e or \u003ccode\u003eJOSE.curve25519_module(:jose_jwa_curve25519)\u003c/code\u003e) for long-lived keys.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Use a constant-time native X25519 implementation for private-key operations: install the libsodium or libdecaf NIF, or run on an OTP release whose `crypto` application provides `x25519`, and do not force the pure-Erlang Curve25519 fallback (`JOSE.crypto_fallback(true)` or `JOSE.curve25519_module(:jose_jwa_curve25519)`) for long-lived keys."
            }
          ],
          "value": "Use a constant-time native X25519 implementation for private-key operations: install the libsodium or libdecaf NIF, or run on an OTP release whose crypto application provides x25519, and do not force the pure-Erlang Curve25519 fallback (JOSE.crypto_fallback(true) or JOSE.curve25519_module(:jose_jwa_curve25519)) for long-lived keys."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-65630",
    "datePublished": "2026-10-26T19:54:07.686Z",
    "dateReserved": "2026-07-22T13:58:26.233Z",
    "dateUpdated": "2026-10-26T19:54:07.686Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-65630",
      "date": "2026-10-27",
      "epss": "0.00137",
      "percentile": "0.03062"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://repo.hex.pm",
                "cpes": [
                  "cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "jose_jwa_x25519",
                  "jose_jwa_curve25519",
                  "jose_curve25519_fallback",
                  "jose_jwk_kty_okp_x25519"
                ],
                "packageName": "jose",
                "packageURL": "pkg:hex/jose",
                "product": "jose",
                "programFiles": [
                  "src/jwa/jose_jwa_x25519.erl",
                  "src/jwa/jose_jwa_curve25519.erl",
                  "src/jwa/curve25519/jose_curve25519_fallback.erl",
                  "src/jwk/jose_jwk_kty_okp_x25519.erl"
                ],
                "programRoutines": [
                  {
                    "name": "jose_jwa_x25519:curve25519/2"
                  },
                  {
                    "name": "jose_jwa_x25519:scalarmult/2"
                  },
                  {
                    "name": "jose_jwa_x25519:scalarmult_base/1"
                  },
                  {
                    "name": "jose_jwa_x25519:x25519/2"
                  },
                  {
                    "name": "jose_jwa_x25519:x25519_base/1"
                  },
                  {
                    "name": "jose_jwa_x25519:sk_to_pk/1"
                  },
                  {
                    "name": "jose_jwa_x25519:montgomery_add/3"
                  },
                  {
                    "name": "jose_jwa_x25519:montgomery_double/1"
                  },
                  {
                    "name": "jose_jwa_curve25519:x25519_shared_secret/2"
                  },
                  {
                    "name": "jose_jwa_curve25519:x25519_secret_to_public/1"
                  }
                ],
                "repo": "https://github.com/potatosalad/erlang-jose",
                "vendor": "potatosalad",
                "versions": [
                  {
                    "lessThan": "1.11.13",
                    "status": "affected",
                    "version": "1.10.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://github.com",
                "cpes": [
                  "cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "jose_jwa_x25519",
                  "jose_jwa_curve25519",
                  "jose_curve25519_fallback",
                  "jose_jwk_kty_okp_x25519"
                ],
                "packageName": "potatosalad/erlang-jose",
                "packageURL": "pkg:github/potatosalad/erlang-jose",
                "product": "jose",
                "programFiles": [
                  "src/jwa/jose_jwa_x25519.erl",
                  "src/jwa/jose_jwa_curve25519.erl",
                  "src/jwa/curve25519/jose_curve25519_fallback.erl",
                  "src/jwk/jose_jwk_kty_okp_x25519.erl"
                ],
                "programRoutines": [
                  {
                    "name": "jose_jwa_x25519:curve25519/2"
                  },
                  {
                    "name": "jose_jwa_x25519:scalarmult/2"
                  },
                  {
                    "name": "jose_jwa_x25519:scalarmult_base/1"
                  },
                  {
                    "name": "jose_jwa_x25519:x25519/2"
                  },
                  {
                    "name": "jose_jwa_x25519:x25519_base/1"
                  },
                  {
                    "name": "jose_jwa_x25519:sk_to_pk/1"
                  },
                  {
                    "name": "jose_jwa_x25519:montgomery_add/3"
                  },
                  {
                    "name": "jose_jwa_x25519:montgomery_double/1"
                  },
                  {
                    "name": "jose_jwa_curve25519:x25519_shared_secret/2"
                  },
                  {
                    "name": "jose_jwa_curve25519:x25519_secret_to_public/1"
                  }
                ],
                "repo": "https://github.com/potatosalad/erlang-jose",
                "vendor": "potatosalad",
                "versions": [
                  {
                    "lessThan": "3670f873c274bba86fb7f5ee5727a7efa1322b79",
                    "status": "affected",
                    "version": "8e532095de114ef4bf88a9ec5d651fa251a972b3",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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.\n\nThe 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.\n\nThis 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.\n\nThis issue affects jose: from 1.10.0 before 1.11.13."
          }
        ],
        "id": "CVE-2026-65630",
        "lastModified": "2026-10-27T15:00:49.240",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "HIGH",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-26T20:17:58.780",
        "references": [
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://cna.erlef.org/cves/CVE-2026-65630.html"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/potatosalad/erlang-jose/commit/3670f873c274bba86fb7f5ee5727a7efa1322b79"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/potatosalad/erlang-jose/commit/8e532095de114ef4bf88a9ec5d651fa251a972b3"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-xvr2-gggj-h2pp"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-65630"
          }
        ],
        "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-208"
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.