All vulnerabilities

Packagist

CVE-2026-137581

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

Severity
High 8.2
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
3.4.13, 4.0.9, 4.1.11, 4.2.6
Exploit chance
0.2% in the next 30 daysHigher than 7% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
web-token/jwt-encryptionPackagist · osv:Packagist:web-token/jwt-encryption
  • Every version up to 3.2.10
web-token/jwt-frameworkPackagist · osv:Packagist:web-token/jwt-framework
  • Every version before 3.4.13
  • From 4.0.0 before 4.0.9
  • From 4.1.0 before 4.1.11
  • From 4.2.0 before 4.2.6
web-token/jwt-libraryPackagist · osv:Packagist:web-token/jwt-library
  • Every version before 3.4.13
  • From 4.0.0 before 4.0.9
  • From 4.1.0 before 4.1.11
  • From 4.2.0 before 4.2.6
web-token/jwt-signaturePackagist · osv:Packagist:web-token/jwt-signature
  • Every version up to 3.2.10

About web-token/jwt-encryption

Monthly downloads (Packagist)
85,596Packagist, 26 Nov 2026
Total downloads (Packagist)
6,937,541Packagist, 26 Nov 2026

About web-token/jwt-framework

Monthly downloads (Packagist)
942,041Packagist, 26 Nov 2026
Total downloads (Packagist)
24,290,580Packagist, 26 Nov 2026

About web-token/jwt-library

Monthly downloads (Packagist)
5,313,648Packagist, 26 Nov 2026
Total downloads (Packagist)
31,471,084Packagist, 26 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137581