All vulnerabilities

Packagist

CVE-2026-137580

web-token jwt-framework before 3.4.13 Denial of Service via JSONGeneralSerializer

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.3% in the next 30 daysHigher than 18% 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 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.

From the CVE Program.

Affected software

SoftwareAffected versions
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

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 fixed
PackageDebian releaseStatus
php-web-token-jwt-frameworksidunstableFixed in 4.2.7-1
14forkytestingFixed in 4.2.7-1

From Debian's security tracker for CVE-2026-137580 , read in the last 12 hours.

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

About web-token/jwt-signature

Monthly downloads (Packagist)
437,826Packagist, 26 Nov 2026
Total downloads (Packagist)
25,332,105Packagist, 26 Nov 2026

References

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