web-token jwt-framework before 3.4.13 ECDH-ES DoS via Oversized epk Coordinate
- CVE-2026-137559
- GHSA-cqg3-2763-9f6x
- EUVD-2026-136755
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.
Text from the CVE.org record.
Recommendation
web-token jwt-framework
- If you run 4.2.xupdate to 4.2.6 or laterPatch update: breaking changes are unlikely
- If you run 4.1.xupdate to 4.1.11 or laterPatch update: breaking changes are unlikely
- If you run 4.0.xupdate to 4.0.9 or laterPatch update: breaking changes are unlikely
- If you run a version from 2.2.0 to before 3.4.13update to 3.4.13 or laterMajor version change: expect breaking changes
web-token jwt-library
- If you run 4.2.xupdate to 4.2.6 or laterPatch update: breaking changes are unlikely
- If you run 4.1.xupdate to 4.1.11 or laterPatch update: breaking changes are unlikely
- If you run 4.0.xupdate to 4.0.9 or laterPatch update: breaking changes are unlikely
- If you run a version before 3.4.13update to 3.4.13 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
web-token jwt-encryption-algorithm-ecdh-es
Affected versions Fixed in from 2.2.0 up to 3.2.10 none stated web-token jwt-framework
Affected versions Fixed in from 4.2.0 to before 4.2.6 4.2.6 from 4.1.0 to before 4.1.11 4.1.11 from 4.0.0 to before 4.0.9 4.0.9 from 2.2.0 to before 3.4.13 3.4.13 web-token jwt-library
Affected versions Fixed in from 4.2.0 to before 4.2.6 4.2.6 from 4.1.0 to before 4.1.11 4.1.11 from 4.0.0 to before 4.0.9 4.0.9 before 3.4.13 3.4.13
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.