Read the docs

RSA1_5 padding oracle in web-token jwt-framework and jwt-library

Priority LOW 35CWE-208Published · Updated

Key facts

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

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-208.

Summary

The web-token jwt-framework package before 3.4.10, 4.0.x before 4.0.7 and 4.1.x before 4.1.7 is affected, as is the jwt-library package from 3.3.0 before 3.4.10, from 4.0.0 before 4.0.7 and from 4.1.0 before 4.1.7. RSA1_5 decryption in RSACrypt::decryptWithRSA15() lacks implicit rejection, so it acts as a padding oracle (CWE-208). Remote unauthenticated attackers can submit crafted JWE encrypted_key values and measure timing differences to recover the wrapped content encryption key.

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

Description from the CNA

web-token jwt-framework and jwt-library before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 contain a padding oracle in RSACrypt::decryptWithRSA15() because RSA1_5 decryption lacks implicit rejection, so invalid padding, wrong CEK length, and valid padding take measurably different time. Remote attackers can submit adaptively crafted JWE encrypted_key values and measure these timing differences to recover the wrapped content encryption key.

Why it matters now

EPSS 0.00302 15th percentileScored 2026-11-30
Fix Fixed jwt-library (web-token): 3.4.10, 4.0.7, 4.1.7jwt-framework (web-token): 3.4.10, 4.0.7, 4.1.7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
web-tokenjwt-library3.3.0 to before 3.4.103.4.10Patch availableCNA
web-tokenjwt-library4.0.0 to before 4.0.74.0.7Patch availableCNA
web-tokenjwt-library4.1.0 to before 4.1.74.1.7Patch availableCNA
web-tokenjwt-frameworkbefore 3.4.103.4.10Patch availableCNA
web-tokenjwt-framework4.0.0 to before 4.0.74.0.7Patch availableCNA
web-tokenjwt-framework4.1.0 to before 4.1.74.1.7Patch availableCNA
  • jwt-library Vendorweb-token Affected 3.3.0 to before 3.4.10 Fixed in 3.4.10 Patch available CNA
  • jwt-library Vendorweb-token Affected 4.0.0 to before 4.0.7 Fixed in 4.0.7 Patch available CNA
  • jwt-library Vendorweb-token Affected 4.1.0 to before 4.1.7 Fixed in 4.1.7 Patch available CNA
  • jwt-framework Vendorweb-token Affected before 3.4.10 Fixed in 3.4.10 Patch available CNA
  • jwt-framework Vendorweb-token Affected 4.0.0 to before 4.0.7 Fixed in 4.0.7 Patch available CNA
  • jwt-framework Vendorweb-token Affected 4.1.0 to before 4.1.7 Fixed in 4.1.7 Patch available CNA

Remediation

Upgrade web-token jwt-framework to 3.4.10, 4.0.7 or 4.1.7 on the matching branch. Upgrade web-token jwt-library to 3.4.10, 4.0.7 or 4.1.7 on the matching branch.

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

  • Fix · CNA jwt-library (web-token) Fixed in 3.4.10
  • Fix · CNA jwt-library (web-token) Fixed in 4.0.7
  • Fix · CNA jwt-library (web-token) Fixed in 4.1.7
  • Fix · CNA jwt-framework (web-token) Fixed in 3.4.10
  • Fix · CNA jwt-framework (web-token) Fixed in 4.0.7
  • Fix · CNA jwt-framework (web-token) Fixed in 4.1.7

Fixed in the same release

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

  • Release ·

    web-token jwt-framework 3.4.10, 4.0.7, 4.1.7

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-96428 Uncontrolled resource use in Web-Token jwt-framework and jwt-libraryPriority MEDIUM 44
    • TI-2026-96427 Missing integrity check in jwt-framework key encryptionPriority LOW 27
  • Release ·

    web-token jwt-library 3.4.10, 4.0.7, 4.1.7

    2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-96428 Uncontrolled resource use in Web-Token jwt-framework and jwt-libraryPriority MEDIUM 44

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-134459
  2. 2026-11-21 Alias added: GHSA-33q2-442r-3r99

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