Read the docs

Decryption oracle in web-token jwt-framework RSA-OAEP handling

Priority LOW 28CWE-325Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

web-token jwt-framework and jwt-library before 3.4.13, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.11, and from 4.2.0 before 4.2.6 are affected, as are jwt-encryption before 2.0.4 and jwt-encryption-algorithm-rsa through 3.2.10. The RSACrypt::decryptWithRSAOAEP() function accepts a JWE Encrypted Key made of multiple RSA blocks instead of a single RSAES-OAEP ciphertext (CWE-325). An attacker holding the recipient's public key can recover the content encryption key byte by byte using a decryption success signal, then decrypt a captured JWE.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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 now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00259 10th percentileScored 2026-11-30
Fix Fixed jwt-library (web-token): 3.4.13, 4.0.9, 4.1.11 +1jwt-framework (web-token): 3.4.13, 4.0.9, 4.1.11 +1+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
web-tokenjwt-librarybefore 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.63.4.13, 4.0.9, 4.1.11, 4.2.6Patch availableCNA
web-tokenjwt-frameworkbefore 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.63.4.13, 4.0.9, 4.1.11, 4.2.6Patch availableCNA
web-tokenjwt-encryptionbefore 2.0.42.0.4Patch availableCNA
web-tokenjwt-encryption-algorithm-rsaup to 3.2.10—No fix listedCNA
  • jwt-library Vendorweb-token Affected before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6 Patch available CNA
  • jwt-framework Vendorweb-token Affected before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6 Patch available CNA
  • jwt-encryption Vendorweb-token Affected before 2.0.4 Fixed in 2.0.4 Patch available CNA
  • jwt-encryption-algorithm-rsa Vendorweb-token Affected up to 3.2.10 Fixed in — No fix listed CNA

Remediation

Upgrade jwt-library and jwt-framework to 3.4.13, 4.0.9, 4.1.11 or 4.2.6 for the matching branch, and upgrade jwt-encryption to 2.0.4. The sources list no fixed version for jwt-encryption-algorithm-rsa.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA jwt-library (web-token) Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6
  • Fix · CNA jwt-framework (web-token) Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6
  • Fix · CNA jwt-encryption (web-token) Fixed in 2.0.4

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    web-token jwt-framework, jwt-library 3.4.13, 4.0.9 and 2 more versions

    10 records Highest priority Priority LOW 10 LOW

    Other records, highest priority first

    • TI-2026-98993 Denial of service in web-token jwt-framework JWE and JWS loadersPriority LOW 36
    • TI-2026-98991 Denial of service in web-token JWT parsing of JSON General tokensPriority LOW 36
    • TI-2026-98992 Denial of service in web-token jwt-framework through JSON decodingPriority LOW 35
  • Release ·

    web-token jwt-encryption 2.0.4

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-98985 Denial of service in web-token jwt-framework via unbounded RSA keysPriority LOW 35

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137558
  2. 2026-11-27 Alias added: GHSA-q2cg-g948-98mw
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-96428 Uncontrolled resource use in Web-Token jwt-framework and jwt-library CVSS 4.0HIGH 8.7
  • TI-2026-98993 Denial of service in web-token jwt-framework JWE and JWS loaders CVSS 4.0HIGH 8.2
  • TI-2026-98991 Denial of service in web-token JWT parsing of JSON General tokens CVSS 4.0HIGH 8.2
  • TI-2026-98992 Denial of service in web-token jwt-framework through JSON decoding CVSS 4.0HIGH 8.2
  • TI-2026-98990 RSA private key timing side channel in web-token jwt-framework CVSS 4.0HIGH 8.2
  • TI-2026-98985 Denial of service in web-token jwt-framework via unbounded RSA keys CVSS 4.0HIGH 8.2
See all 14 →

Sources