Web-Token jwt-framework before 3.4.10 DoS via Unbounded PBES2 p2c Iteration Count
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 21, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 21, 2026
Description
Web-Token jwt-framework and jwt-library before 3.4.10, 4.0.0 before 4.0.7, and 4.1.0 before 4.1.7 contain an uncontrolled resource consumption vulnerability in PBES2AESKW::unwrapKey(), which passes the attacker-controlled p2c JWE header value to hash_pbkdf2() without an upper bound. Unauthenticated attackers can send a JWE using a PBES2-HS*+A*KW algorithm with a huge p2c iteration count to force lengthy PBKDF2 computations and exhaust server CPU.
| Product | Versions |
|---|---|
| jwt-library web-token | 3.3.0 to before 3.4.10 Affected3.4.10 Not Affected |
| jwt-library web-token | 4.0.0 to before 4.0.7 Affected4.0.7 Not Affected |
| jwt-library web-token | 4.1.0 to before 4.1.7 Affected4.1.7 Not Affected |
| jwt-framework web-token | before 3.4.10 Affected3.4.10 Not Affected |
| jwt-framework web-token | 4.0.0 to before 4.0.7 Affected4.0.7 Not Affected |
| jwt-framework web-token | 4.1.0 to before 4.1.7 Affected4.1.7 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.