web-token jwt-framework before 3.4.13 RSA-OAEP Multi-Block Decryption Oracle
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| web-tokenjwt-library |
< 3.4.13→ 3.4.13 ≥ 4.0.0, < 4.0.9→ 4.0.9 ≥ 4.1.0, < 4.1.11→ 4.1.11 ≥ 4.2.0, < 4.2.6→ 4.2.6 |
3.4.13 4.0.9 4.1.11 4.2.6 |
| web-tokenjwt-framework |
< 3.4.13→ 3.4.13 ≥ 4.0.0, < 4.0.9→ 4.0.9 ≥ 4.1.0, < 4.1.11→ 4.1.11 ≥ 4.2.0, < 4.2.6→ 4.2.6 |
3.4.13 4.0.9 4.1.11 4.2.6 |
| web-tokenjwt-encryption |
< 2.0.4→ 2.0.4 |
2.0.4 |
| web-tokenjwt-encryption-algorithm-rsa |
≤ 3.2.10→ Not listed |
Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-137558 php-web-token-jwt-framework Fix available
Original description The description as published by the source.
web-token jwt-framework and jwt-library before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 contain a decryption oracle in RSACrypt::decryptWithRSAOAEP(), which accepts a JWE Encrypted Key made of multiple RSA blocks instead of a single RSAES-OAEP ciphertext. Attackers holding the recipient's public key can embed a captured encrypted key among crafted blocks and, using an accepted AES-CBC-HMAC algorithm and a decryption success signal, recover its CEK byte by byte to decrypt the captured JWE.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com