- Home
- Vulnerabilities
- CVE-2026-134461
CVE-2026-134461
Web-Token jwt-framework before 3.4.10 DoS via Unbounded PBES2 p2c Iteration Count
Medium
45/100
Summary
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.
Affected products and versions
web-token (6 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| jwt-framework | before 3.4.10 (excluded) |
— | CNA (vendor or assigner) |
| jwt-framework | from 4.0.0 (included) to 4.0.7 (excluded) |
— | CNA (vendor or assigner) |
| jwt-framework | from 4.1.0 (included) to 4.1.7 (excluded) |
— | CNA (vendor or assigner) |
| jwt-library | from 3.3.0 (included) to 3.4.10 (excluded) |
— | CNA (vendor or assigner) |
| jwt-library | from 4.0.0 (included) to 4.0.7 (excluded) |
— | CNA (vendor or assigner) |
| jwt-library | from 4.1.0 (included) to 4.1.7 (excluded) |
— | CNA (vendor or assigner) |
Packagist (6 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| web-token/jwt-framework | before 3.4.10 (excluded) |
3.4.10 |
GitHub Advisory |
| web-token/jwt-framework | from 4.0.0 (included) to 4.0.7 (excluded) |
4.0.7 |
GitHub Advisory |
| web-token/jwt-framework | from 4.1.0 (included) to 4.1.7 (excluded) |
4.1.7 |
GitHub Advisory |
| web-token/jwt-library | before 3.4.10 (excluded) |
3.4.10 |
GitHub Advisory |
| web-token/jwt-library | from 4.0.0 (included) to 4.0.7 (excluded) |
4.0.7 |
GitHub Advisory |
| web-token/jwt-library | from 4.1.0 (included) to 4.1.7 (excluded) |
4.1.7 |
GitHub Advisory |
Fix
Upgrade — Packagist/web-token/jwt-library 3.4.10; Packagist/web-token/jwt-framework 3.4.10; Packagist/web-token/jwt-library 4.0.7; Packagist/web-token/jwt-library 4.1.7; Packagist/web-token/jwt-framework 4.0.7; Packagist/web-token/jwt-framework 4.1.7official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-3prj-6hqw-cm82 — PHP JWT Library: PBES2-HS*+A*KW unwrap accepts an unbounded p2c iteration count, enabling CPU-amplification denial of service 18 Jun 2026
References
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-3prj-6hqw-cm82vendor-advisory
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.10-dos-via-unbounded-pbes2-p2c-iteration-countthird-party-advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/web-token/jwt-library/GHSA-3prj-6hqw-cm82.yamlWEB
- https://github.com/web-token/jwt-frameworkPACKAGE
- https://github.com/web-token/jwt-framework/releases/tag/3.4.10WEB
- https://github.com/web-token/jwt-framework/releases/tag/4.0.7WEB
- https://github.com/web-token/jwt-framework/releases/tag/4.1.7WEB
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-770 · Autre (CWE-770)