Patch Ticker
EnglishEN
Elevated

web-token jwt-framework JWE/JWS loaders denial of service

CVE-2026-137582 and 10 more

A PHP login-data library; one crafted message can stall a server.

Mitigation

Update web-token jwt-framework and jwt-library to the fixed version of your line; find yours in the list below. The 3.4 line has reached end of life, so move to 4.x. Packages up to 3.2.10 (jwt-encryption, jwt-signature, jwt-core and others) have no confirmed fixed version. Until you update, do not register the JSON General serializers in loaders that take data from untrusted senders.

Fixed version by product

web-token jwt-framework and jwt-library 3.4
3.4.13 or later
web-token jwt-framework and jwt-library 4.0
4.0.9 or later
web-token jwt-framework and jwt-library 4.1
4.1.11 or later
web-token jwt-framework and jwt-library 4.2
4.2.6 or later

Can't update yet?

Add this line to the config file:

do not register the JSON General serializers in loaders that process tokens from untrusted senders

A wrong setting can stop the service or lock you out. Check the source links below first.

Summary

web-token jwt-framework's JWE and JWS loaders do not limit how many recipients or signatures a token has, so an unauthenticated remote attacker can exhaust server CPU. Versions before 3.4.13 and 4.0.9, 4.1.11, 4.2.6 are affected, and the same release also fixes missing key size checks and other flaws.

Affected when

  • CVE-2026-137582, CVE-2026-137580 loader accepts JSON General serialized data from untrusted senders
  • CVE-2026-137582 PBES2 algorithm registered
  • CVE-2026-137581 loader parses untrusted data before verification
  • CVE-2026-137564 dir key shorter than required size or empty
  • CVE-2026-137562 AESKW or AESGCMKW with a short or empty oct key
  • CVE-2026-137579, CVE-2026-137558 RSA-OAEP, RSA-OAEP-256 or RSA1_5 decryption
  • CVE-2026-137560 RSA key from an untrusted sender used for verification or encryption
  • CVE-2026-137559 ECDH-ES on PHP without GMP
  • CVE-2026-137563 version 4.2.1 or later, before 4.2.6
  • CVE-2026-137561 JWE with a non-empty encrypted key accepted

Incidents by product: jwt-core · jwt-encryption-algorithm-experimental · jwt-encryption-algorithm-aesgcmkw · jwt-encryption-algorithm-ecdh-es · jwt-encryption-algorithm-aeskw

11 CVEs (every link below opens in a new tab)

Read the advisory · github.com (opens in a new tab)

Each of the 11 CVEs (every link below opens in a new tab)

Show 8 more