Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach JWE decryption endpoint
-
DeliveryCraft JWE with PBES2-HS*+A*KW and huge p2c
-
ExploitSubmit token unauthenticated
-
ExecutionPBKDF2 runs unbounded iterations
-
ImpactWorker CPU exhausted, service denied
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to register a password-based key-encryption algorithm - PBES2-HS256+A128KW, PBES2-HS384+A192KW, or PBES2-HS512+A256KW - in its decryption AlgorithmManager and to decrypt attacker-supplied JWE tokens; the attacker then sets the PBKDF2 iteration count 'p2c' in the JOSE protected header to a very large value (the vulnerable code validated only is_int($p2c) && $p2c > 0). No authentication, user interaction, or special attacker position is needed (CVSS PR:N/UI:N/AV:N). The principal limiting factor is configuration: deployments that do not enable any PBES2-HS*+A*KW algorithm for untrusted tokens are not exposed, and a custom header checker capping p2c, or disabling PBES2 for untrusted input, blunts exploitation before patching. Cost is amplified by JSON General serialization with multiple recipients and multi-key JWKSets. |
| Impact | This is a credible, actionable priority rather than a high-CVSS-but-low-real-risk issue, though the risk is scoped by configuration. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated attack with no user interaction, and the only impact is to availability (VA:H; VC:N/VI:N) - consistent with a pure CPU-exhaustion denial of service and no confidentiality or integrity exposure. The vuln.today decision label is 'this_week' (not act_now/emergency), and the flaw was reported by VulnCheck. No CISA KEV listing and no EPSS score were provided, so there is no confirmed active exploitation and no modeled exploitation probability to weigh; absence of these is not evidence of safety but it does argue against treating this as an emergency. The GHSA advisory concretely quantifies the amplification (p2c ≈ 100,000,000 ≈ 87 s of CPU per request, up to PHP_INT_MAX), and notes the attacker pays almost nothing because the decrypter swallows the eventual exception while the worker burns CPU - a strong asymmetry that makes exploitation attractive once a target is known to accept PBES2 tokens. The key limiting factor, confirmed by the vendor advisory, is that the application must register a PBES2-HS*+A*KW algorithm in its decryption AlgorithmManager; deployments that do not enable PBES2 for untrusted input are not exposed. Net: real priority for affected PHP/JWT deployments, with risk gated by whether PBES2 is enabled for untrusted tokens. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a single crafted JWE to an endpoint that decrypts tokens with a PBES2-HS*+A*KW algorithm, setting the protected-header 'p2c' iteration count to an enormous value (e.g. 100,000,000 or PHP_INT_MAX). The server passes this directly to hash_pbkdf2() with no upper bound, forcing a worker to burn arbitrary CPU before the unwrap fails and the exception is silently discarded. Repeating this, or using JSON General serialization with multiple recipients/JWKSets to multiply the cost per request, exhausts worker CPU and denies service; no public working exploit code is identified at time of analysis, though VulnCheck and the GHSA advisory describe the mechanism in detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Unauthenticated remote attackers can exhaust server CPU in PHP applications using the web-token/jwt-framework or jwt-library packages by submitting a JWE that uses a PBES2-HS*+A*KW key-encryption algorithm with an oversized p2c (PBKDF2 iteration count) value in its JOSE protected header. PBES2AESKW::unwrapKey() passed that attacker-controlled value straight to hash_pbkdf2() with no upper bound, so a single token requesting 100,000,000 iterations can tie up a worker for roughly 87 seconds before the key unwrap even fails. Applications are exposed only if they register a PBES2-HS*+A*KW algorithm in their decryption AlgorithmManager and process untrusted JWEs; no public exploit code or confirmed active exploitation was identified at time of analysis, and the CVSS 4.0 score of 8.7 reflects high availability impact with no confidentiality or integrity effect.
RemediationAI
Vendor-released patches are available: upgrade composer/web-token/jwt-library or composer/web-token/jwt-framework to 3.4.10 on the 3.4.x branch, 4.0.7 on the 4.0.x branch, or 4.1.7 on the 4.1.x branch, as documented in GHSA-3prj-6hqw-cm82. The fix bounds p2c at DEFAULT_MAX_COUNT = 1,000,000 inside checkHeaderAdditionalParameters() before hash_pbkdf2() is called, and the limit is exposed as a constructor argument so it can be tuned; verify that your legitimate p2c values fall below whatever bound you configure, since lowering it too far will reject valid tokens. If upgrading is not immediately possible, the vendor states the available workarounds are to validate and cap the p2c header with a custom header checker, or to not enable PBES2 algorithms for untrusted tokens - the latter removes the affected code path entirely for untrusted input but breaks interop with any peer that legitimately sends PBES2-wrapped JWEs. Note that with JSON General serialization and multi-key JWKSets each recipient or key adds another PBKDF2 computation, so per-request cost multiplies and rate limiting decryption endpoints is a supplementary measure, not a substitute for the patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-770 (allocation of resources without limits or throttling) issue in the PHP web-token JWT stack, specifically in PBES2AESKW::unwrapKey(). PBES2 key wrapping, defined in RFC 7518 §4.8, derives a key-encryption key with PBKDF2 and advertises the iteration count in the JOSE protected header field 'p2c'. The library's checkHeaderAdditionalParameters() only verified is_int($p2c) && $p2c > 0, so any positive integer was accepted and forwarded directly into PHP's hash_pbkdf2(). Because the JOSE header is attacker-controlled for any JWE the application decrypts, the iteration count becomes a direct CPU-amplification knob: cost scales linearly with p2c and is paid before unwrap can fail, and the decrypter swallows the resulting exception so the attacker incurs negligible cost. JSON General serialization with multiple recipients and multi-key JWKSets multiply the per-request work because each recipient/key triggers another PBKDF2 derivation. The affected packages are composer/web-token/jwt-library and composer/web-token/jwt-framework, at versions below 3.4.10, 4.0.0 through 4.0.6, and 4.1.0 through 4.1.6. The patch introduces DEFAULT_MAX_COUNT = 1,000,000 in checkHeaderAdditionalParameters(), enforced before any PBKDF2 computation and exposed as a tunable constructor argument for operators whose legitimate p2c values differ.
Know when Jwt Library gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote unauthenticated single-request CPU exhaustion with no interaction gives AV:N/AC:L/PR:N/UI:N; impact is availability-only (A:H), with no confidentiality or integrity effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Allocation of resources without limits or throttling (CWE-770; the advisory also files it under CWE-400, "uncontrolled resource consumption").
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-134461 is a high-severity (CVSS 8.7) availability vulnerability in PHP JWT libraries where an unauthenticated attacker can send a single malicious JWE token to exhaust server CPU, potentially taking down authentication or API services for roughly 87 seconds per request. Any customer-facing application that uses the affected web-token/jwt-framework or jwt-library packages with PBES2-HS*+A*KW decryption enabled is exposed to denial-of-service attacks, which could lead to service outages, SLA violations, and reputational harm. Leadership should prioritize this because the vulnerability is trivial to exploit and directly impacts business continuity.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) disabling PBES2-HS*+A*KW algorithms in the decryption AlgorithmManager if not required; (2) enforcing an upper bound on the p2c iteration count (e.g., 10,000) by wrapping the key unwrap logic or via a custom middleware; (3) deploying a web application firewall (WAF) or API gateway rule to reject JWE tokens with p2c values that exceed a safe threshold (e.g., >10,000); (4) rate-limiting requests to endpoints that process JWEs; (5) monitoring for abnormal CPU spikes or long-running JWE decryption processes and alerting accordingly.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Jwt Library
View allNATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings ar
PHP applications using web-token/jwt-framework or its jwt-library component that register the RSA1_5 key-encryption algo
JWE tokens produced with ECDH-ES (or the non-registered ECDH-SS) direct key agreement and A256CBC-HS512 in web-token/jwt
EUVD-2026-132467
GHSA-gxh8-83xg-w4p6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB