CVE-2026-137559: web-token jwt-framework before 3.4.13 ECDH-ES DoS via Oversized epk Coordinate
web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 allow CPU exhaustion because, on PHP without GMP, AbstractECDH falls back to pure PHP curve code that converts unbounded ECDH-ES epk x and y coordinates to big integers before any length check. Unauthenticated attackers who know only the recipient key's curve can send small JWEs with oversized epk coordinates, keeping workers busy for seconds to minutes per token.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this denial-of-service condition?
Deployments using the affected web-token jwt-framework or jwt-library versions are exposed when running PHP without GMP and processing ECDH-ES JWEs. The vulnerable fallback is the pure-PHP curve implementation in AbstractECDH.
What does an attacker need to exploit it?
No authentication or user interaction is required. An attacker only needs to know the recipient key's curve and be able to submit a JWE for processing, using oversized epk x and y coordinates.
How disruptive can exploitation be?
A small malicious JWE can keep a worker busy for seconds to minutes per token, causing CPU exhaustion. The stated impact is availability only; no confidentiality or integrity impact is specified.
What versions address the issue?
Update to jwt-framework or jwt-library 3.4.13, 4.0.9, 4.1.11, or 4.2.6, as applicable to the release branch in use.