CVE catalog

CVE-2026-65628

erlang-jose: CVE-2026-65628

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianerlang-josesid1.11.12-3vulnerable
Debianerlang-joseforky1.11.12-3vulnerable
Debianerlang-josetrixie1.11.10-1vulnerable
Debianerlang-josebookworm1.11.5-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianerlang-josesourcesid(unfixed)not yet assignedNot reported[1152299]
Debianerlang-josesourceforky(unfixed)not yet assignedNot reported[1152299]
Debianerlang-josesourcetrixie(unfixed)not yet assignedNot reported[1152299]
Debianerlang-josesourcebookworm(unfixed)not yet assignedNot reported[1152299]

[Debian bug #1152299]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [erlang-jose]Affected
    Details (4)
    • 1.11.5-1 · amd64 · bookworm

      Affected

      dsa · erlang-jose · debian · bookworm; dsa · erlang-jose · debian · 12

    • 1.11.5-1 · arm64 · bookworm

      Affected

      dsa · erlang-jose · debian · bookworm; dsa · erlang-jose · debian · 12

    • 1.11.10-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      dsa · erlang-jose · debian · bookworm; dsa · erlang-jose · debian · 12

    • 1.11.10-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      dsa · erlang-jose · debian · bookworm; dsa · erlang-jose · debian · 12

[Debian 13 (Trixie)]

  • [erlang-jose]Affected

    Source package: [erlang-jose]

    Details (2)
    • 1.11.10-1+b1 · amd64 · trixie

      Affected

      dsa · erlang-jose · debian · 13

    • 1.11.10-1+b1 · arm64 · trixie

      Affected

      dsa · erlang-jose · debian · 13

Observed:

References