← VULNERABILITIES

CVE-2026-137581

web-token jwt-framework before 3.4.13 Denial of Service via Unbounded JSON Decoding

High · 8.2Fix available
CVSS
8.2
EPSS
0.22% (p8)
Published
2026-11-26
Age
2d old
Modified
2026-11-27
Product
web-token jwt-library
Aliases
GHSA-2xq2-pp89-x7fr

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

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.

Fixed in

3.4.13 · 4.0.9 · 4.1.11 · 4.2.6

Affected packages

EcosystemPackageRangeFixed
vendorjwt-framework>=0, <3.4.133.4.13
vendorjwt-framework>=4.0.0, <4.0.94.0.9
vendorjwt-framework>=4.1.0, <4.1.114.1.11
vendorjwt-framework>=4.2.0, <4.2.64.2.6
vendorjwt-library>=0, <3.4.133.4.13
vendorjwt-library>=4.0.0, <4.0.94.0.9
vendorjwt-library>=4.1.0, <4.1.114.1.11
vendorjwt-library>=4.2.0, <4.2.64.2.6

Sources

  • NVD · first seen 2d ago · NVD terms of use
  • OSV · first seen 2d ago · CC-BY 4.0
  • CVE List · first seen 2d ago · CVE Terms of Use

References

JSON