CVE-2026-137559

web-token jwt-framework before 3.4.13 ECDH-ES DoS via Oversized epk Coordinate

High published · updated

8.2
CVSS score out of 10 · NVD (vulncheck.com)

Description

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 products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
jwt-library web-token 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.64.2.6 CVE.org
jwt-framework web-token 2.2.0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.64.2.6 CVE.org
jwt-encryption-algorithm-ecdh-es web-token ≤3.2.10— CVE.org

References