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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| web-token | jwt-library | >= 3.3.0, < 3.4.10 |
| web-token | jwt-library | >= 4.0.0, < 4.0.7 |
| web-token | jwt-library | >= 4.1.0, < 4.1.7 |
| web-token | jwt-framework | < 3.4.10 |
| web-token | jwt-framework | >= 4.0.0, < 4.0.7 |
| web-token | jwt-framework | >= 4.1.0, < 4.1.7 |
References
Timeline
- Published
- Nov 21, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Received