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

Read the record on cve.org

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.

ProductVersions
jwt-library web-token3.3.0 to before 3.4.10 Affected3.4.10 Not Affected
jwt-library web-token4.0.0 to before 4.0.7 Affected4.0.7 Not Affected
jwt-library web-token4.1.0 to before 4.1.7 Affected4.1.7 Not Affected
jwt-framework web-tokenbefore 3.4.10 Affected3.4.10 Not Affected
jwt-framework web-token4.0.0 to before 4.0.7 Affected4.0.7 Not Affected
jwt-framework web-token4.1.0 to before 4.1.7 Affected4.1.7 Not Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.