CVEfocus › CVE database › CVE-2026-65632

CVE-2026-65632ECDSA signature length is not validated in jose, allowing signature malleability

CVSS 5.1 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-10-26Updated 2026-11-19Assigner: EEF

The jose library accepts ECDSA (ES256, ES256K, ES384, and ES512) JWS signatures of a non-canonical length. When verifying an ECDSA signature, jose_jwk_kty_ec:verify/4 in src/jwk/jose_jwk_kty_ec.erl splits the raw signature in half by its actual byte length (split_binary(Signature, byte_size(Signature) div 2)) instead of enforcing the fixed length required by RFC 7518 §3.4, and then decodes each half with crypto:bytes_to_integer/1, which ignores leading zero bytes. As a result, an attacker who holds one valid token can prepend leading zero bytes to each of the R and S halves to produce longer signatures that still split evenly and decode to the same (r, s) pair, so many distinct signature byte strings all verify against the same key (signature malleability). This does not allow forging new payloads or impersonating a signer, because the underlying (r, s) values are unchanged. It does defeat any security control that assumes a valid token or its signature is unique, such as token-revocation-by-hash, replay or idempotency caches, and deduplication logic. This issue affects jose: from 1.0.0 before 1.11.13.

CWE-347

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10joseFix pendingUBUNTU-CVE-2026-65632
Ubuntu 26.04joseUnder investigationUBUNTU-CVE-2026-65632
Ubuntu 24.04joseUnder investigationUBUNTU-CVE-2026-65632
Ubuntu 22.04joseUnder investigationUBUNTU-CVE-2026-65632
Ubuntu 20.04joseFix pendingUBUNTU-CVE-2026-65632
Ubuntu 18.04joseFix pendingUBUNTU-CVE-2026-65632
Debian 14erlang-joseFixed1.11.13-1DEBIAN-CVE-2026-65632
Debian 13erlang-joseFix pendingDEBIAN-CVE-2026-65632
Debian 12erlang-joseFix pendingDEBIAN-CVE-2026-65632

What the vendor says

As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.