web-token/jwt-library
17 known CVEs (12 high, 4 medium, 1 low), with the versions each affects and the releases that fix them.
- Latest release
- 4.2.7 (Nov 8, 2026): no advisory affects it
- Newest unaffected release
- 4.2.7 (Nov 8, 2026), the latest release
- Downloads on affected versions
- Not known: no per-version downloads for this ecosystem
Advisories 17
- CVE-2026-134459web-token jwt-framework before 3.4.10 RSA1_5 Bleichenbacher Padding OracleAffected: fixed in 3.4.10; from 4.0.0, fixed in 4.0.7; from 4.1.0, fixed in 4.1.7.Fixed in 3.4.10 (released Jun 6, 2026, 168 days before disclosure), 4.0.7 (released Jun 6, 2026, 168 days before disclosure) and 4.1.7 (released Jun 6, 2026, 168 days before disclosure).The latest release, 4.2.7, is not affected.
- CVE-2026-134460web-token jwt-framework 1.2.0 before 3.4.10 Missing Authentication in Chacha20Poly1305 Key EncryptionAffected: fixed in 3.4.10; from 4.0.0, fixed in 4.0.7; from 4.1.0, fixed in 4.1.7.Fixed in 3.4.10 (released Jun 6, 2026, 168 days before disclosure), 4.0.7 (released Jun 6, 2026, 168 days before disclosure) and 4.1.7 (released Jun 6, 2026, 168 days before disclosure).The latest release, 4.2.7, is not affected.
- CVE-2026-134461Web-Token jwt-framework before 3.4.10 DoS via Unbounded PBES2 p2c Iteration CountAffected: fixed in 3.4.10; from 4.0.0, fixed in 4.0.7; from 4.1.0, fixed in 4.1.7.Fixed in 3.4.10 (released Jun 6, 2026, 168 days before disclosure), 4.0.7 (released Jun 6, 2026, 168 days before disclosure) and 4.1.7 (released Jun 6, 2026, 168 days before disclosure).The latest release, 4.2.7, is not affected.
- GHSA-7HP7-MG7X-HWW4Rejected JWE tokens write decryption keys into exception stack traces (4.2.1 to 4.2.5)Affected: from 4.2.1, fixed in 4.2.6.Fixed in 4.2.6 (released Nov 8, 2026, the day of disclosure).The latest release, 4.2.7, is not affected.
- GHSA-WWQ7-MH3Q-HWRHECDH-ES: an oversized "epk" coordinate costs seconds to minutes of CPU per token when PHP has no GMP extensionAffected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-96F8-M4JR-72XJRSA keys of any size are accepted: a key chosen by the sender of a token costs seconds of CPU per operation (RSA-PSS and RSA encryption, and every RSA algorithm without GMP)Affected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-WWCR-82MC-W3PWRSA-OAEP accepts an encrypted key made of several RSA blocks, enabling recovery of another JWE's content encryption key through a decryption oracleAffected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-JC6J-46G2-XWQCDirect encryption (dir) does not check the key size: with a key of half the required size, AES-CBC-HMAC content is encrypted under an all-zero AES key and anyone holding the token can read itAffected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-4MXJ-75J2-J8HCAES key wrapping accepts oct keys shorter than the algorithm key size and pads them with zero bytes: an empty key wraps every CEK under an all-zero keyAffected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-5CC5-V8QV-6CW7dir, ECDH-ES and ECDH-SS accept a non-empty JWE Encrypted Key, so token strings are malleableAffected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-3VQW-452C-G726JWE and JWS loaders try every recipient or signature of a token, so a small token multiplies the PBES2 iteration cap (denial of service)Affected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-2XQ2-PP89-X7FRJWS and JWE serializers decode attacker-controlled JSON without bounds before verification (CPU and memory denial of service)Affected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-JGV7-G4JG-6HQVDenial of service: parsing a JWS in the JSON General serialization takes a time quadratic in its number of signaturesAffected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-2QPX-PWMQ-R27RRSA private key recoverable through a timing side channel in RSA-OAEP and RSA1_5 decryptionAffected: fixed in 3.4.13; from 4.0.0, fixed in 4.0.9; from 4.1.0, fixed in 4.1.11; from 4.2.0, fixed in 4.2.6.Fixed in 3.4.13 (released Nov 8, 2026, the day of disclosure), 4.0.9 (released Nov 8, 2026, the day of disclosure), 4.1.11 (released Nov 8, 2026, the day of disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-5PJ7-WX9M-CJH6ECDH-ES derives at most 256 bits of key material: with A256CBC-HS512 the content is encrypted under an all-zero AES key and anyone holding the token can read itAffected: fixed in 3.4.12; from 4.0.0, fixed in 4.0.8; from 4.1.0, fixed in 4.1.10; from 4.2.0, fixed in 4.2.4.Fixed in 3.4.12 (released Oct 30, 2026, 1 day before disclosure), 4.0.8 (released Oct 30, 2026, 1 day before disclosure), 4.1.10 (released Oct 30, 2026, 1 day before disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-J265-MG9Q-WPV9AES-GCM decryption accepts any authentication tag length: a holder of one valid JWE can brute force a 1-byte tag in at most 256 requests and rewrite the plaintextAffected: fixed in 3.4.11; from 4.0.0, fixed in 4.0.8; from 4.1.0, fixed in 4.1.10; from 4.2.0, fixed in 4.2.4.Fixed in 3.4.11 (released Oct 30, 2026, 1 day before disclosure), 4.0.8 (released Oct 30, 2026, 1 day before disclosure), 4.1.10 (released Oct 30, 2026, 1 day before disclosure) and 1 other version.The latest release, 4.2.7, is not affected.
- GHSA-JC38-X7X8-2XC8PHP JWT Framework: JWSVerifier uses algorithm from unprotected header, enabling algorithm confusion attacksAffected: fixed in 3.4.10; from 4.0.0, fixed in 4.0.7; from 4.1.0, fixed in 4.1.7.Fixed in 3.4.10 (released Jun 6, 2026, 12 days before disclosure), 4.0.7 (released Jun 6, 2026, 12 days before disclosure) and 4.1.7 (released Jun 6, 2026, 12 days before disclosure).The latest release, 4.2.7, is not affected.
Version timeline
- CVE-2026-134459Affects 3.3.0 to 3.4.9 (3.4.10 is outside it); 4.0.0 to 4.0.6 (4.0.7 is outside it); 4.1.0 to 4.1.6 (4.1.7 is outside it)
- CVE-2026-134460Affects 3.3.0 to 3.4.9 (3.4.10 is outside it); 4.0.0 to 4.0.6 (4.0.7 is outside it); 4.1.0 to 4.1.6 (4.1.7 is outside it)
- CVE-2026-134461Affects 3.3.0 to 3.4.9 (3.4.10 is outside it); 4.0.0 to 4.0.6 (4.0.7 is outside it); 4.1.0 to 4.1.6 (4.1.7 is outside it)
- GHSA-7HP7-MG7X-HWW4Affects 4.2.1 to 4.2.5 (4.2.6 is outside it)
- GHSA-WWQ7-MH3Q-HWRHAffects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-96F8-M4JR-72XJAffects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-WWCR-82MC-W3PWAffects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-JC6J-46G2-XWQCAffects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-4MXJ-75J2-J8HCAffects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-5CC5-V8QV-6CW7Affects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-3VQW-452C-G726Affects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-2XQ2-PP89-X7FRAffects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-JGV7-G4JG-6HQVAffects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-2QPX-PWMQ-R27RAffects 3.3.0 to 3.4.12 (3.4.13 is outside it); 4.0.0 to 4.0.8 (4.0.9 is outside it); 4.1.0 to 4.1.10 (4.1.11 is outside it); 4.2.0 to 4.2.5 (4.2.6 is outside it)
- GHSA-5PJ7-WX9M-CJH6Affects 3.3.0 to 3.4.11 (3.4.12 is outside it); 4.0.0 to 4.0.7 (4.0.8 is outside it); 4.1.0 to 4.1.9 (4.1.10 is outside it); 4.2.0 to 4.2.3 (4.2.4 is outside it)
- GHSA-J265-MG9Q-WPV9Affects 3.3.0 to 3.4.10 (3.4.11 is outside it); 4.0.0 to 4.0.7 (4.0.8 is outside it); 4.1.0 to 4.1.9 (4.1.10 is outside it); 4.2.0 to 4.2.3 (4.2.4 is outside it)
- GHSA-JC38-X7X8-2XC8Affects 3.3.0 to 3.4.9 (3.4.10 is outside it); 4.0.0 to 4.0.6 (4.0.7 is outside it); 4.1.0 to 4.1.6 (4.1.7 is outside it)