Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLearn recipient EC key curve
-
DeliveryCraft small JWE with oversized epk coordinate
-
ExploitSubmit token to decryption endpoint
-
ExecutionForce pure-PHP big-integer conversion of coordinate
-
ImpactExhaust worker CPU for seconds to minutes
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Asymmetric resource consumption control
|
| Exploitation Conditions | Exploitation requires the application to decrypt ECDH-ES or ECDH-ES+A128KW/A192KW/A256KW JWEs using an EC recipient key (P-256, P-384, P-521 or a Brainpool curve) on a PHP installation WITHOUT the GMP extension - GMP and BCMath are suggested by the library, not required, so the vulnerable fallback path is reachable by default where GMP is absent. No key and no valid token are needed; the attacker needs only the recipient key's curve, and the request is unauthenticated (PR:N). Severity of a single token scales with coordinate size and the available math backend: without GMP or BCMath, a ~2 KB token (fits in an HTTP header) is sufficient; with BCMath present, the token must be tens of kilobytes to be costly. LIMITING FACTORS: installations with the GMP extension are NOT affected, and X25519/X448 keys are NOT affected; the existing recipient-count and JSON-decoding limits from prior advisories do not mitigate this (one compact recipient and a single coordinate string suffice). |
| Impact | This is a genuine availability threat but a conditional one, and the signals are consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) with VA:H and the vuln.today 'this_week' priority both point to a remotely reachable, unauthenticated CPU-exhaustion flaw whose severity is real only where a specific deployment condition holds - AT:P (Attack Requirements: Present) encodes exactly that precondition, namely PHP without the GMP extension. No EPSS score and no CISA KEV entry are provided, and no public exploit code is referenced, so there is no evidence of active exploitation; this is 'no public exploit identified at time of analysis,' not a weaponized zero-day. The 8.2 base score is high because A/VA impact is High and the vector is network-reachable with no privileges, but the real-world blast radius is gated by configuration: installations that have GMP (or that never decrypt ECDH-ES JWEs) are not vulnerable at all. The vendor advisory supplies concrete measurements (a 2 KB token can occupy a worker for ~124 s without GMP/BCMath), which substantiates the VA:H rating. Net: a legitimate priority for the subset of PHP deployments matching the conditions, patch this_week per the decision label, but not a universal emergency given the GMP/BCMath gating. |
| Exploit ScenarioDerived | An unauthenticated attacker who only needs to know the recipient EC key's curve (P-256, P-384, P-521 or Brainpool) crafts a small JWE using ECDH-ES or ECDH-ES+A*KW with an oversized 'epk' x/y coordinate and sends it to any endpoint that decrypts such tokens (e.g. encrypted request objects or ID tokens). On PHP without GMP, the pure-PHP curve fallback converts the unbounded coordinate to a big integer before any length check, pinning a worker for seconds to minutes per token. No public exploit code is referenced, but the vendor advisory publishes exact token sizes and timings, making reproduction straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
CPU exhaustion in web-token JWT Framework (jwt-framework and jwt-library) lets an unauthenticated remote attacker keep PHP workers busy for seconds to minutes per token by sending a compact JWE whose ECDH-ES epk x and y coordinates are far longer than the recipient curve. The flaw affects releases 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 only when an application decrypts ECDH-ES or ECDH-ES+A128KW/A192KW/A256KW tokens with an EC key (P-256, P-384, P-521 or a Brainpool curve) on a PHP installation without the GMP extension; X25519/X448 keys and GMP-enabled hosts are unaffected. With neither GMP nor BCMath a roughly 2 KB token, small enough for an HTTP header, is sufficient, while the presence of BCMath raises the required token to tens of kilobytes; no public exploit code was identified at time of analysis and the issue is not in CISA KEV, but the network reachability and lack of any authentication requirement make it a priority fix this week for reachable JWE decryption endpoints.
RemediationAI
Upgrade to the fixed releases: 3.4.13 (the last release of the 3.4 line), 4.0.9, 4.1.11 or 4.2.6, per the advisory at https://github.com/web-token/jwt-framework/security/advisories/GHSA-wwq7-mh3q-hwrh; the fix makes OpenSSL's refusal of the epk final, builds the pure-PHP curve object only when that fallback actually runs, and rejects coordinates longer than the curve before converting them to big integers, so invalid tokens are rejected in milliseconds. The vendor's primary workaround is to install the GMP extension, which removes the pure-PHP fallback path entirely (trade-off: a new PHP extension to deploy and a different math backend in production). Where GMP cannot be installed, refuse tokens whose epk coordinates are longer than the curve size before decryption - for example with a header checker when JWELoader is used - and bound the size of accepted JWEs (trade-offs: custom validation code that can reject legitimate tokens if the length rule is misapplied, and a token-size cap that may break large legitimate encrypted payloads).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 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 affected code lives in web-token/jwt-encryption-algorithm-ecdh-es, the ECDH-ES key-agreement implementation used by jwt-library and jwt-framework (CPE cpe:2.3:a:web-token:jwt-library, cpe:2.3:a:web-token:jwt-framework). AbstractECDH::calculateAgreementKey() first asks OpenSSL for the shared secret; when OpenSSL refuses the attacker-supplied epk public key, that failure is swallowed and a pure-PHP elliptic-curve fallback takes over. checkKey() only confirms that the epk members exist, not that they are the correct length, and the fallback converts the x and y strings to big integers through brick/math before any range check. Without the GMP extension that conversion is cubic in coordinate length with brick/math's native calculator and quadratic with BCMath, so a single oversized coordinate burns seconds to minutes of CPU: the advisory's measurements on PHP 8.5 show 13.6 s for a 1000-byte epk.x with neither GMP nor BCMath and 124 s at 2000 bytes, versus about 0.01 s for a legitimate token. This is CWE-405 (asymmetric resource consumption) and CWE-407 (inefficient algorithm complexity); the pure-PHP fallback has used brick/math since 2.2.0, so every release since then is affected, and the issue is not mitigated by the recipient-count or JSON-decoding limits added in other advisories because one compact recipient and a single coordinate string are enough.
Know when PHP 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
Network-reachable and unauthenticated (AV:N/PR:N/UI:N); AC:H reflects the attacker-uncontrolled deployment precondition that the target run PHP without GMP; impact is availability-only (A:H, C/I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
web-token jwt-framework and jwt-library 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 allow CPU exhaustion because, on PHP without GMP, AbstractECDH falls back to pure PHP curve code that converts unbounded ECDH-ES epk x and y coordinates to big integers before any length check. Unauthenticated attackers who know only the recipient key's curve can send small JWEs with oversized epk coordinates, keeping workers busy for seconds to minutes per token.
Technical POC Analysis
CWE-405 (Asymmetric Resource Consumption / Amplification), with CWE-407 (Inefficient Algorithmic Complexity) as the mechanism.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The web-token JWT Framework libraries used by PHP applications to process encrypted tokens contain a high-severity flaw that lets unauthenticated remote attackers stall PHP workers for seconds to minutes per request, degrading or exhausting service on any affected application that decrypts EC-based JWT tokens. Any organization running these libraries on PHP hosts without the GMP extension is exposed through ordinary network traffic, making this a realistic availability risk to customer-facing authentication and API paths rather than a theoretical concern.
Apply vendor patch.
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
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-136755
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB