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.
- CVE
- CVE-2026-137582 and 10 more
- Score
- CVSS 8.2 · CVE-2026-137582
- Public date
- 2026-11-08
- First seen
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)
- CVE-2026-137582A small encrypted message with many recipients can exhaust server CPU. CVSS 8.2 CVE-2026-137582 advisory · CVE-2026-137582 write-up
- CVE-2026-137581Large data is parsed before checking, so CPU or memory runs out and the server stops. CVSS 8.2 CVE-2026-137581 advisory · CVE-2026-137581 write-up
- CVE-2026-137564Data encrypted with a short key can be read by anyone; with an empty key, forged data is accepted. CVSS 8.2 CVE-2026-137564 advisory · CVE-2026-137564 write-up
Show 8 more
- CVE-2026-137580Large signed data with thousands of empty signatures can exhaust CPU. CVSS 8.2 CVE-2026-137580 advisory · CVE-2026-137580 write-up
- CVE-2026-137579Response timing lets attackers recover the RSA private key and decrypt everything sent to it. CVSS 8.2 CVE-2026-137579 advisory · CVE-2026-137579 write-up
- CVE-2026-137560A crafted RSA key makes each verification cost seconds of CPU. CVSS 8.2 CVE-2026-137560 advisory · CVE-2026-137560 write-up
- CVE-2026-137559Small encrypted data with oversized public coordinates keeps CPU busy for seconds to minutes. CVSS 8.2 CVE-2026-137559 advisory · CVE-2026-137559 write-up
- CVE-2026-137562Short or empty keys are zero-padded, so anyone can read or forge the data. CVSS 6.3 CVE-2026-137562 advisory · CVE-2026-137562 write-up
- CVE-2026-137558An attacker with the public key can recover a captured key byte by byte and decrypt the message. CVSS 6.3 CVE-2026-137558 advisory · CVE-2026-137558 write-up
- CVE-2026-137563When data is rejected, decryption keys are written to logs readable by others. CVSS 5.9 CVE-2026-137563 advisory · CVE-2026-137563 write-up
- CVE-2026-137561One message can be altered in its key slot into endless variants, bypassing replay and revocation lists. CVSS 3.1 CVE-2026-137561 advisory · CVE-2026-137561 write-up