Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134461: high-severity vulnerability (CVSS 8.7) in web-token jwt-library.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
web-token jwt-library >= 3.3.0, < 3.4.10; web-token jwt-library 3.4.10 (fixed in 3.4.10); web-token jwt-library >= 4.0.0, < 4.0.7; web-token jwt-library 4.0.7 (fixed in 4.0.7); web-token jwt-library >= 4.1.0, < 4.1.7; web-token jwt-library 4.1.7 (fixed in 4.1.7); web-token jwt-framework < 3.4.10; web-token jwt-framework 3.4.10 (fixed in 3.4.10); web-token jwt-framework >= 4.0.0, < 4.0.7; web-token jwt-framework 4.0.7 (fixed in 4.0.7); web-token jwt-framework >= 4.1.0, < 4.1.7; web-token jwt-framework 4.1.7 (fixed in 4.1.7)
| Product | Versions | Fixed in |
|---|---|---|
| web-token jwt-library | >= 3.3.0, < 3.4.10 | — |
| web-token jwt-library | 3.4.10 | 3.4.10 |
| web-token jwt-library | >= 4.0.0, < 4.0.7 | — |
| web-token jwt-library | 4.0.7 | 4.0.7 |
| web-token jwt-library | >= 4.1.0, < 4.1.7 | — |
| web-token jwt-library | 4.1.7 | 4.1.7 |
| web-token jwt-framework | < 3.4.10 | — |
| web-token jwt-framework | 3.4.10 | 3.4.10 |
| web-token jwt-framework | >= 4.0.0, < 4.0.7 | — |
| web-token jwt-framework | 4.0.7 | 4.0.7 |
| web-token jwt-framework | >= 4.1.0, < 4.1.7 | — |
| web-token jwt-framework | 4.1.7 | 4.1.7 |
Action recommended by the source
Upgrade to a fixed version: 3.4.10, 4.0.7, 4.1.7.
Fixed in: 3.4.10, 4.0.7, 4.1.7
Sources and references
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-3prj-6hqw-cm82 — CVE Program
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.10-dos-via-unbounded-pbes2-p2c-iteration-count — CVE Program
Weaknesses (CWE): CWE-770
Relevant change history
Published
Preliminary advisory published.