Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-65632

MEDIUM 5.1EPSS 1%

ECDSA signature length is not validated in jose, allowing signature malleability

Mitigation

  • Upgrade jose to 1.11.13 or later.
  • Upgrade jose to 72ce1866622b9329347dc52a94173ac0317bc9cf or later.

Who should check

  • Anyone running potatosalad jose >= 1.0.0, < 1.11.13
  • Anyone running potatosalad jose >= a7746ecd4950f85a393136e449a91dac62b5c429, < 72ce1866622b9329347dc52a94173ac0317bc9cf

Vulnerability facts

Affected
potatosalad jose >= 1.0.0, < 1.11.13; potatosalad jose >= a7746ecd4950f85a393136e449a91dac62b5c429, < 72ce1866622b9329347dc52a94173ac0317bc9cf
Fixed in
potatosalad jose 1.11.13, potatosalad jose 72ce1866622b9329347dc52a94173ac0317bc9cf
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.1 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.12% chance of exploitation in 30 days (percentile 1, 2026-11-26)
CWE
CWE-347
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
potatosalad jose>= 1.0.0, < 1.11.13—cvelist
potatosalad jose>= a7746ecd4950f85a393136e449a91dac62b5c429, < 72ce1866622b9329347dc52a94173ac0317bc9cf—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-65632. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-65632.md
Affected: potatosalad jose >= 1.0.0, < 1.11.13; potatosalad jose >= a7746ecd4950f85a393136e449a91dac62b5c429, < 72ce1866622b9329347dc52a94173ac0317bc9cf
Fixed in: potatosalad jose 1.11.13, potatosalad jose 72ce1866622b9329347dc52a94173ac0317bc9cf

Steps:
1. Search this machine and project for potatosalad jose: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-65632 being exploited?

There is no confirmed exploitation: CVE-2026-65632 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.12% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-65632?

Medium: CVSS 5.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-65632?

potatosalad jose >= 1.0.0, < 1.11.13; potatosalad jose >= a7746ecd4950f85a393136e449a91dac62b5c429, < 72ce1866622b9329347dc52a94173ac0317bc9cf.

Is there a fix for CVE-2026-65632?

Yes. Fixed in potatosalad jose 1.11.13, potatosalad jose 72ce1866622b9329347dc52a94173ac0317bc9cf. Upgrade jose to 1.11.13 or later. Upgrade jose to 72ce1866622b9329347dc52a94173ac0317bc9cf or later.

How do I check if I'm affected by CVE-2026-65632?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors