Skip to main content

web-token jwt-framework CVE-2026-137580

| EUVDEUVD-2026-136748 HIGH
Inefficient Algorithmic Complexity (CWE-407)
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
    Send oversized JSON General JWS request body
  2. Delivery
    Reach JSONGeneralSerializer::unserialize parsing
  3. Exploit
    Trigger quadratic per-signature token cloning
  4. Execution
    Exhaust CPU and tie up PHP worker
  5. Impact
    Saturate worker pool, denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

The application must parse JWS tokens from untrusted senders using the JSON General serializer (JSONGeneralSerializer, name jws_json_general) - either through a JWSLoader or JWSSerializerManager that registers it, or through the bundle's Symfony Serializer encoder (JWSEncoder), which builds its manager from every registered serializer and ignores the requested format, so decoding jws_compact through the Symfony Serializer also parses JSON General tokens. No key, no valid signature, and no authentication are needed - parsing happens before any header checker, algorithm, or key is consulted. Limiting factors: the malicious token must be delivered in a large request body (several hundred KB to 1 MB); a token small enough to fit in an 8 KB HTTP header (~470 signatures) parses in about 1 ms and is not effective, so endpoints that cap request body size blunt the attack. Applications that use only the compact or JSON Flattened serializers directly, and all JWE serializers, are NOT affected. Workarounds per the vendor: build the JWSSerializerManager/JWSLoader without jws_json_general for untrusted paths, or limit JWS request body size (≈60 ms CPU at 64 KB); upgrading is the complete fix.

Impact

This is a genuine but bounded availability-only risk. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) shows an unauthenticated, remote, low-complexity attack, but the AT:P (Attack Requirements: Present) flag is important and matches the advisory: the target application must actually parse untrusted JWS tokens with the JSON General serializer, and the attacker must be able to deliver a request body of several hundred kilobytes. Impact is confined to availability (VA:H; VC:N/VI:N - nothing is disclosed and no token is accepted), so the 8.2 score reflects a serious DoS, not a compromise. No EPSS score, no KEV entry, and no confirmed public exploit were supplied, so there is no public exploit identified at time of analysis - though the VulnCheck and GHSA advisories describe the technique precisely (a ~510 KB token with 30,000 empty '{"signature":""}' entries ties up a PHP worker for ~4 seconds, 1 MB for ~18 seconds, cost quadrupling each time size doubles). The vuln.today decision label is 'this_week', consistent with a high-severity DoS that is not under active exploitation: a real priority to patch, but not an emergency. The main signals are consistent; the chief uncertainty is deployment-specific - whether a given application exposes the JSON General serializer to untrusted input and accepts large bodies.

Exploit ScenarioDerived

An unauthenticated attacker sends one or more large HTTP request bodies (several hundred KB to 1 MB) containing a JSON General serialized JWS with tens of thousands of empty signature entries to an endpoint that parses untrusted tokens with the JSON General serializer. Because JSONGeneralSerializer::unserialize() adds each signature via JWS::addSignature() - which clones the token every time - parsing takes quadratic time, pinning a PHP worker for seconds per request. A handful of concurrent requests occupies every worker in the pool and denies service; no valid key or token is required. No weaponized public exploit is identified, but the advisories detail the exact technique.

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

Parsing JSON General serialized JWS tokens in web-token/jwt-framework and the underlying 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) consumes CPU time proportional to the square of the token's signature count, letting an unauthenticated remote sender exhaust PHP workers. The vendor rates this CVSS 4.0 8.2; our independent assessment lands on CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, treating the attack as high-complexity because a body of several hundred kilobytes to 1 MB must be accepted by the target endpoint for the token size to matter. No public exploit identified at time of analysis; the impact is availability only - nothing is disclosed and no token is accepted, since parsing happens before any key, algorithm or header checker is consulted.

RemediationAI

Vendor-released patch: upgrade to 3.4.13, 4.0.9, 4.1.11 or 4.2.6, each branch listing its own fixed version, per the GHSA-jgv7-g4jg-6hqv advisory; note that 3.4.13 is the final release of the 3.4 branch, which is end of life, so 3.4 users should move to the 4.x line, and the upstream change is not a signature-count limit - it only restores linear parsing. Expect two edge-case behaviour changes when upgrading: a fourth JWS constructor argument that is not a list of Signature objects now throws InvalidArgumentException, and a signature header that is not a JSON object now raises a TypeError naming Signature::__construct(). Until the upgrade is deployed, the vendor recommends two workarounds for code paths handling tokens from untrusted senders: if JSON General serialization is not required, build the JWSSerializerManager or JWSLoader without the jws_json_general serializer, and in Symfony bundle deployments decode untrusted tokens with such a manager rather than the Symfony Serializer JWSEncoder, since the encoder ignores the requested format; otherwise cap the size of request bodies carrying JWS, where a 64 KB limit bounds the worst case at roughly 60 ms of CPU, with the trade-off that legitimate large multi-signature tokens over that limit will be rejected.

Affected VersionsENISA

jwt-signature 0 ≤3.2.10
jwt-library 0 <3.4.13
jwt-library 4.1.0 <4.1.11
jwt-library 4.2.0 <4.2.6
jwt-framework 0 <3.4.13
jwt-library 4.0.0 <4.0.9
jwt-framework 4.2.0 <4.2.6
jwt-framework 4.0.0 <4.0.9
jwt-framework 4.1.0 <4.1.11

Affected Packages

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
euvd jwt_signature no fix

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 flaw is CWE-407 (inefficient algorithmic complexity) in JSONGeneralSerializer::unserialize(), the parser for the JSON General JWS serialization of RFC 7515 section 7.2.1. Each signature entry in the token's signatures array was appended with JWS::addSignature(), a method that returns a modified clone of the token rather than mutating it in place, so every append copied the signatures already accumulated and total parsing cost grew quadratically with the number of signatures. The attacker controls that number, and the shortest accepted entry, {"signature":""}, costs 17 bytes including its comma, so a 510 KB token carrying 30,000 empty signatures held a PHP worker for roughly 4 seconds and a 1 MB token for roughly 18 seconds, against 5 to 10 milliseconds for a genuine token of the same size; cost quadruples each time the token size doubles until max_execution_time intervenes. Because deserialization precedes any header checker, algorithm selection or key lookup, no key and no valid token are required. The upstream fix builds the signature list and hands it to the JWS constructor in a single call, restoring linear parsing (about 45 ms for 30,000 signatures and 145 ms for 60,000) without limiting signature count; it introduces two documented behaviour changes: the previously ignored optional fourth constructor argument now throws InvalidArgumentException if it is not a list of Signature objects, and a signature whose header member is not a JSON object now produces a TypeError naming Signature::__construct() instead of JWS::addSignature().

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

Remote and unauthenticated (AV:N/PR:N/UI:N), but exploitation depends on the app using the JSON General serializer and accepting large bodies, a condition beyond attacker control (AC:H); impact is availability only (C:N/I:N/A:H).

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 - 15:59 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 parse JSON General serialized JWS tokens in quadratic time because JSONGeneralSerializer::unserialize() adds each signature via JWS::addSignature(), which clones the token. Unauthenticated remote attackers can send large tokens holding thousands of empty signatures to exhaust CPU and occupy PHP workers without any valid key or token.

Technical POC Analysis

CWE-407 (Inefficient Algorithmic Complexity) in JSONGeneralSerializer::unserialize(), part of the web-token/jwt-library component (surfaced to applications through web-token/jwt-framework and the leg…

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

CVE-2026-137580 in the web-token/jwt-framework and jwt-library allows an unauthenticated attacker to exhaust PHP worker capacity by submitting specially crafted JSON General JWS tokens, causing a quadratic CPU consumption that can render JWT-dependent services unavailable. This threatens the availability of any customer-facing or internal applications relying on these libraries for token parsing and validation, potentially leading to service disruptions and reputational harm.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular PHP JWT library, but only the JSON General serializer path is affected
Data Quality
4 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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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