Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-137558

CVE-2026-137558: web-token jwt-framework before 3.4.13 RSA-OAEP Multi-Block Decryption Oracle

web-token jwt-library

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-137558: medium-severity vulnerability (CVSS 6.3) in web-token jwt-library.

What happened

Original description from 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.

Why it matters

Medium severity, CVSS 6.3.

Affected products and versions

web-token jwt-library < 3.4.13; web-token jwt-library 3.4.13 (fixed in 3.4.13); web-token jwt-library >= 4.0.0, < 4.0.9; web-token jwt-library 4.0.9 (fixed in 4.0.9); web-token jwt-library >= 4.1.0, < 4.1.11; web-token jwt-library 4.1.11 (fixed in 4.1.11); web-token jwt-library >= 4.2.0, < 4.2.6; web-token jwt-library 4.2.6 (fixed in 4.2.6); web-token jwt-framework < 3.4.13; web-token jwt-framework 3.4.13 (fixed in 3.4.13); web-token jwt-framework >= 4.0.0, < 4.0.9; web-token jwt-framework 4.0.9 (fixed in 4.0.9)

ProductVersionsFixed in
web-token jwt-library< 3.4.13—
web-token jwt-library3.4.133.4.13
web-token jwt-library>= 4.0.0, < 4.0.9—
web-token jwt-library4.0.94.0.9
web-token jwt-library>= 4.1.0, < 4.1.11—
web-token jwt-library4.1.114.1.11
web-token jwt-library>= 4.2.0, < 4.2.6—
web-token jwt-library4.2.64.2.6
web-token jwt-framework< 3.4.13—
web-token jwt-framework3.4.133.4.13
web-token jwt-framework>= 4.0.0, < 4.0.9—
web-token jwt-framework4.0.94.0.9
web-token jwt-framework>= 4.1.0, < 4.1.11—
web-token jwt-framework4.1.114.1.11
web-token jwt-framework>= 4.2.0, < 4.2.6—
web-token jwt-framework4.2.64.2.6
web-token jwt-encryption< 2.0.4—
web-token jwt-encryption2.0.42.0.4
web-token jwt-encryption-algorithm-rsa<= 3.2.10—

Action recommended by the source

Upgrade to a fixed version: 2.0.4, 3.4.13, 4.0.9, 4.1.11, 4.2.6.

Fixed in: 2.0.4, 3.4.13, 4.0.9, 4.1.11, 4.2.6

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-325

Relevant change history

  1. Published

    Preliminary advisory published.