Skip to main content

web-token JWT Framework CVE-2026-137559

| EUVDEUVD-2026-136755 HIGH
Asymmetric Resource Consumption (Amplification) (CWE-405)
2026-11-26 VulnCheck
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Learn recipient EC key curve
  2. Delivery
    Craft small JWE with oversized epk coordinate
  3. Exploit
    Submit token to decryption endpoint
  4. Execution
    Force pure-PHP big-integer conversion of coordinate
  5. Impact
    Exhaust 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

jwt-framework 4.0.0 <4.0.9
jwt-encryption-algorithm-ecdh-es 2.2.0 ≤3.2.10
jwt-framework 4.2.0 <4.2.6
jwt-framework 2.2.0 <3.4.13
jwt-framework 4.1.0 <4.1.11
jwt-library 4.0.0 <4.0.9
jwt-library 4.1.0 <4.1.11
jwt-library 4.2.0 <4.2.6
jwt-library 0 <3.4.13

Affected Packages

euvd jwt_encryption_algorithm_ecdh_es no fix
euvd jwt_framework fix: 3.4.13, 4.0.9, 4.1.11, 4.2.6
euvd jwt_library fix: 3.4.13, 4.0.9, 4.1.11, 4.2.6

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

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:00 cve.org
HIGH 8.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 88% exploitable
Prevalence
Medium
popular PHP JWT/JWE library, but impact gated to EC-decrypting apps lacking GMP
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy