CVE-2026-137558: web-token jwt-framework before 3.4.13 RSA-OAEP Multi-Block Decryption Oracle
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 Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
An attacker needs the recipient's public key and a captured JWE. Exploitation also relies on the target accepting an AES-CBC-HMAC algorithm and exposing a decryption success signal while processing crafted encrypted-key blocks.
Which deployments are exposed in practice?
Deployments are exposed when they use the affected libraries' RSA-OAEP decryption path and accept the required AES-CBC-HMAC algorithm. The issue is relevant to systems that decrypt captured or attacker-supplied JWE content and reveal whether decryption succeeded.
Which versions contain the issue?
Affected versions are jwt-framework and jwt-library before 3.4.13, versions 4.0.0 before 4.0.9, versions 4.1.0 before 4.1.11, and versions 4.2.0 before 4.2.6. Updating to the applicable fixed version removes the affected version range.