Home / potatosalad / jose / CVE-2026-65628
CVE-2026-65628: is it exploited, and which versions of potatosalad jose are affected and fixed?
CVE-2026-65628 is an uncontrolled recursion vulnerability in potatosalad jose. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: jose from 1.5.0 before 1.11.13 (CVE record by EEF). Fixed in 1.11.13 (CVE record by EEF). Severity: Medium (5.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 08:08 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-65628?
Infinite recursion (CPU denial-of-service) in JOSE.JWK.shared_secret/2 on mismatched key types
jose_jwk:shared_secret/2 (exposed in Elixir as JOSE.JWK.shared_secret/2) derives an ECDH shared secret from two JWKs. Its first function clause only matches when both JWKs carry the same key type (kty) module, and its fallback clause re-invokes itself as shared_secret(from(YourJWK), from(MyJWK)). Because from/1 returns an already-parsed jose_jwk record unchanged, passing two JWKs whose key types differ (for example an EC key and an RSA key) makes the fallback clause re-enter with identical arguments, producing an unbounded tail-recursive loop that never returns and never crashes. An application that derives a shared secret from an externally supplied peer public key without first checking that the peer key's type and curve match its own key can be driven into this loop by an attacker-controlled JWK, pinning an Erlang scheduler at 100% CPU. Repeated requests exhaust the available schedulers, resulting in a denial of service. This issue affects jose: from 1.5.0 before 1.11.13.
From the CVE record by EEF, last updated November 19, 2026, 08:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| potatosalad | jose | from 1.5.0 before 1.11.13 | 1.11.13 |
| potatosalad | jose potatosalad/erlang-jose | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-65628?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-65628 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 2, 2026)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Is there a workaround? (from the CVE record)
Before calling JOSE.JWK.shared_secret/2, verify that the externally supplied peer key's type (kty) and curve match your own key, and reject any key whose type does not match before attempting derivation.
Where are the vendor advisories and references?
- https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-fpj2-9h59-32pp vendor-advisory, related
- EEF CNA record for CVE-2026-65628 related
- OSV record EEF-CVE-2026-65628 related
- Introducing commit 7b80b9f in potatosalad/erlang-jose related
- Fix commit 26182a7 in potatosalad/erlang-jose patch
Who found and reported it?
- Peter Ullrich (reporter)
- Jonatan Männchen / EEF (analyst)
- Andrew Bennett (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 22, 2026
- Published
- October 26, 2026, 19:53 UTC
- CVE record updated
- November 19, 2026, 08:01 UTC by EEF
- NVD
- Deferred, last modified November 2, 2026, 22:17 UTC
- Last checked
- CVE list November 19, 2026, 08:08 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect jose?
- Oct 26, 2026CVE-2026-65630 potatosalad jose: timing side channel
- Oct 26, 2026CVE-2026-65632 potatosalad jose: cryptographic signature not verified
- Oct 26, 2026CVE-2026-65631 potatosalad jose: denial of service through slow algorithm
- Oct 26, 2026CVE-2026-65629 potatosalad jose: weak password hashing
- Oct 26, 2026CVE-2026-65627 potatosalad jose: improper Handling of Highly Compressed Data (Data Amplification)
- Oct 26, 2026CVE-2026-65626 potatosalad jose: information disclosure through timing or responses
- Oct 26, 2026CVE-2026-65625 potatosalad jose: improper Validation of Integrity Check Value
Questions about CVE-2026-65628
Is CVE-2026-65628 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of potatosalad jose are affected by CVE-2026-65628?
jose from 1.5.0 before 1.11.13, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-65628?
1.11.13, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-65628?
Medium (5.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-65628?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.