CVE-2026-137558
web-token jwt-framework before 3.4.13 RSA-OAEP Multi-Block Decryption Oracle
6.3
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| jwt-library | web-token | 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.6 | 4.2.6 | CVE.org |
| jwt-framework | web-token | 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.6 | 4.2.6 | CVE.org |
| jwt-encryption | web-token | 0 → <2.0.4 | 2.0.4 | CVE.org |
| jwt-encryption-algorithm-rsa | web-token | ≤3.2.10 | — | CVE.org |