Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-137580

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

web-token jwt-library

Default version status: unaffected

  • 0 to < 3.4.13affected
  • 3.4.13unaffected
  • 4.0.0 to < 4.0.9affected
  • 4.0.9unaffected
  • 4.1.0 to < 4.1.11affected
  • 4.1.11unaffected
  • 4.2.0 to < 4.2.6affected
  • 4.2.6unaffected
pkg:composer/web-token/jwt-library

web-token jwt-framework

Default version status: unaffected

  • 0 to < 3.4.13affected
  • 3.4.13unaffected
  • 4.0.0 to < 4.0.9affected
  • 4.0.9unaffected
  • 4.1.0 to < 4.1.11affected
  • 4.1.11unaffected
  • 4.2.0 to < 4.2.6affected
  • 4.2.6unaffected
pkg:composer/web-token/jwt-framework

web-token jwt-signature

Default version status: unaffected

  • 0 to ≤ 3.2.10affected
pkg:composer/web-token/jwt-signature

References