CVE-2026-137558

web-token jwt-framework before 3.4.13 RSA-OAEP Multi-Block Decryption Oracle

Medium published · updated

6.3
CVSS score out of 10 · NVD (vulncheck.com)

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 / packageEcosystem / vendorVersionsFixed inSource
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.64.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.64.2.6 CVE.org
jwt-encryption web-token 0 → <2.0.42.0.4 CVE.org
jwt-encryption-algorithm-rsa web-token ≤3.2.10— CVE.org

References