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, and jwt-encryption and jwt-signature through 3.2.10, contain a denial of service vulnerability because the JWS and JWE serializers pass attacker-controlled tokens and protected headers to json_decode() without bounds before verification. Unauthenticated attackers can submit large tokens with colliding header member names or deeply nested arrays to cause quadratic decoding time or fatal memory exhaustion.
History

Mon, 30 Nov 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 27 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Web-token
Web-token jwt-encryption
Web-token jwt-framework
Web-token jwt-library
Web-token jwt-signature
Vendors & Products Web-token
Web-token jwt-encryption
Web-token jwt-framework
Web-token jwt-library
Web-token jwt-signature

Thu, 26 Nov 2026 16:15:00 +0000

Type Values Removed Values Added
Description 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, and jwt-encryption and jwt-signature through 3.2.10, contain a denial of service vulnerability because the JWS and JWE serializers pass attacker-controlled tokens and protected headers to json_decode() without bounds before verification. Unauthenticated attackers can submit large tokens with colliding header member names or deeply nested arrays to cause quadratic decoding time or fatal memory exhaustion.
Title web-token jwt-framework before 3.4.13 Denial of Service via Unbounded JSON Decoding
First Time appeared Nats
Nats jwt Library
Weaknesses CWE-407
CPEs cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*
Vendors & Products Nats
Nats jwt Library
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-26T15:59:53.665Z

Updated: 2026-11-30T14:19:46.412Z

Reserved: 2026-11-26T12:50:57.770Z

Link: CVE-2026-137581

cve-icon Vulnrichment

Updated: 2026-11-30T14:18:36.524Z

cve-icon NVD

Status : Deferred

Published: 2026-11-26T16:18:11.463

Modified: 2026-12-04T17:18:42.280

Link: CVE-2026-137581

cve-icon Redhat

No data.