Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption 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. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N, VA:H, score 8.2) describes an unauthenticated, network-reachable availability-only flaw: no confidentiality or integrity impact, consistent with a CPU-exhaustion denial of service (CWE-400). The AT:P (attack requirement present) metric aligns with the advisory's statement that exploitation is only possible when a loader registers the JSON General serializer, and the cheap small-token PBES2 variant additionally requires a PBES2 key-management algorithm to be registered - so this is config-gated rather than universal. Priority signals are moderate, not maximal: the vuln.today decision label is 'this_week' (not act_now or emergency); the CVE is NOT listed in CISA KEV; no EPSS probability was supplied; and exploitation status is 'no public exploit identified at time of analysis'. Against those tempering signals, the advisory from the maintainers and VulnCheck documents a concrete, low-cost trigger (a ~300-byte token causing ~8.7-50s of CPU) requiring no key, password, or valid token, and the impact scales linearly with recipient count - a realistic DoS for any affected deployment. Net: a genuine this-week-grade DoS for applications that accept JSON General serialized JWE/JWS from untrusted senders, but materially lower real-world risk for the majority of deployments that register only compact or flattened serializers. Missing data to note: no EPSS score and no KEV listing are provided, so widespread active exploitation is neither confirmed nor refuted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
CPU-exhaustion denial of service in web-token/jwt-framework and the related jwt-library, jwt-encryption and jwt-signature Composer packages allows an unauthenticated remote sender to burn worker CPU with a tiny token: before 3.4.13, 4.0.9, 4.1.11 and 4.2.6, JWELoader and JWSLoader try every recipient or signature of a JSON General serialized token without limiting how many there are. A roughly 300-byte JWE containing about 30 empty recipients that inherit an at-cap PBES2 p2c value from the shared protected header forces 30 key derivations of 1,000,000 iterations, measured at 8.7 seconds in the reporter's test and around 50 seconds on a slower machine, and every such token is ultimately rejected, so nothing is disclosed or accepted. Rated CVSS 4.0 8.2 (AV:N/AC:L/AT:P/PR:N/UI:N, VA:H only) with priority this_week; no KEV listing and no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: 3.4.13 (the last release of the 3.4 line), 4.0.9, 4.1.11 and 4.2.6, per https://github.com/web-token/jwt-framework/security/advisories/GHSA-3vqw-452c-g726. The patches make JWEDecrypter share the PBES2 iteration cap across recipients (a recipient of an N-recipient token may request at most max_count / N iterations, checked before derivation, with PBES2AESKW::getMaxCount() exposing the cap) and add an optional maximum recipient/signature count to JWELoader and JWSLoader; because the limit has no default in these releases, operators should set the fourth constructor argument explicitly, for example new JWELoader($serializerManager, $jweDecrypter, $headerCheckerManager, 10), since 10 is enough in practice and this bounds the ECDH-ES, RSA and JWS cases (from 4.3 an unlimited load is deprecated and bundle loaders accept max_recipients and max_signatures options; from 5.0 the limit defaults to 10). Be aware of the compatibility edge case: a PBES2 recipient requesting more iterations than its share (for example 600,000 next to one other recipient, share 500,000) is no longer decrypted, which can be restored by raising max_count in the PBES2 algorithm constructor, and JWEDecrypter::decryptUsingKey()/decryptUsingKeySet() return false for such a recipient rather than throwing; single-recipient tokens and tokens built by JWEBuilder with its default 4,096 iterations are unaffected. Until upgrading, the advisory's workarounds are to stop registering the JSON General serializers in loaders that process tokens from untrusted senders, or to unserialize the token first and reject it when countRecipients() or countSignatures() exceeds the expected value before handing it to the loader or decrypter, or to refuse PBES2 from untrusted senders / lower the max_count argument of the PBES2 algorithms; request-body size limits reduce the ECDH-ES, RSA and JWS cases but not the PBES2 one, where a few hundred bytes suffice.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the JWE/JWS handling of the web-token PHP libraries. Under the JSON General serialization (RFC 7516 section 7.2 for JWE, RFC 7515 section 7.2 for JWS), a token can carry many recipients or signatures, and a recipient may be written as the three bytes "{}," so it inherits alg, enc and the key management parameters (p2c, p2s, epk and so on) from the shared protected headers. JWELoader and JWSLoader iterate over every recipient or signature until one succeeds, so the token itself decides how much work is done. PBES2 (RFC 7518 section 4.8) is the worst case: the p2c iteration cap introduced for GHSA-3prj-6hqw-cm82 bounds a single key derivation, not a whole token, so N empty recipients each cost a full derivation. The same loop multiplies ECDH-ES key agreement or RSA private-key operations per recipient (about 2 to 12 seconds for 60 KB tokens) and, for JWS, verification of the whole payload per signature (about 4 seconds for 1 MB with HS256). This is CWE-400 (uncontrolled resource consumption) with a CWE-606 (unchecked input for loop condition) component; the loop has existed since v0.5.0, when the loaders were added. The CVSS 4.0 vector's AT:P reflects genuine attack requirements: the application must accept tokens from untrusted senders through a loader that registers the JSON General serializer (jwe_json_general or jws_json_general, directly or via the bundle; NestedTokenLoader and bundle loaders go through the same loops), and the small-token PBES2 case additionally requires a PBES2 algorithm (PBES2-HS256+A128KW, PBES2-HS384+A192KW or PBES2-HS512+A256KW) to be registered. Loaders that only register the compact or flattened serializers are unaffected because those serializations carry exactly one recipient or signature, and the trigger conditions for applications that unserialize tokens themselves and call the decrypter or verifier per recipient are the same loop in their own code.
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:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
web-token jwt-framework before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 allows denial of service because JWELoader and JWSLoader try every recipient or signature of a JSON General serialized token without limiting their number. Unauthenticated attackers can send a small JWE with many empty recipients inheriting a maximal PBES2 p2c value, forcing repeated key derivations that exhaust worker CPU.
Technical POC Analysis
CWE-400 uncontrolled resource consumption; the advisory also assigns CWE-606 (unchecked input for loop condition).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A CPU-exhaustion vulnerability in the widely used PHP JWT framework (web-token/jwt-framework and related Composer packages) allows unauthenticated attackers to tie up server workers with tiny, crafted tokens, potentially causing service slowdowns or outages. Since these packages are embedded in authentication flows across many applications, a single malicious request could degrade performance for all users. Leadership should prioritize remediation given the high severity and the framework's critical role in access control.
No vendor-released patch identified at time of analysis; implement rate limiting on token processing endpoints, enforce token size and recipient limits at the API gateway or WAF, monitor CPU usage for anomalies, and consider temporarily disabling support for JSON General serialization if not required.
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
Unauthenticated remote attackers can exhaust server CPU in PHP applications using the web-token/jwt-framework or jwt-lib
PHP applications using web-token/jwt-framework or its jwt-library component that register the RSA1_5 key-encryption algo
CPU exhaustion in web-token JWT Framework (jwt-framework and jwt-library) lets an unauthenticated remote attacker keep P
Unauthenticated CPU and memory exhaustion in web-token/jwt-framework and web-token/jwt-library lets anyone who can submi
JWE tokens produced with ECDH-ES (or the non-registered ECDH-SS) direct key agreement and A256CBC-HS512 in web-token/jwt
Confidentiality loss in web-token/jwt-framework and the underlying jwt-library: JWE tokens produced with direct encrypti
Unbounded RSA key parameters in web-token/jwt-framework and jwt-library allow a remote, unauthenticated attacker to cons
Unblinded RSA private key operations in web-token/jwt-framework and jwt-library (all versions before 3.4.13, 4.0.9, 4.1.
Parsing JSON General serialized JWS tokens in web-token/jwt-framework and the underlying jwt-library (before 3.4.13, 4.0
RSA-OAEP decryption in web-token/jwt-framework and jwt-library accepts a JWE Encrypted Key composed of several RSA block
The web-token/jwt-framework PHP library fails to validate the length of oct keys used with A128KW/A192KW/A256KW, A128GCM
EUVD-2026-136746
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB