All vulnerabilities

Packagist

CVE-2026-137558

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

Severity
Medium 6.3
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
2.0.4, 3.4.13, 4.0.9, 4.1.11, 4.2.6
Exploit chance
0.3% in the next 30 daysHigher than 10% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
CWE-325
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
web-token/jwt-encryptionPackagist · osv:Packagist:web-token/jwt-encryption
  • Every version before 2.0.4
web-token/jwt-encryption-algorithm-rsaPackagist · osv:Packagist:web-token/jwt-encryption-algorithm-rsa
  • Every version up to 3.2.10
web-token/jwt-frameworkPackagist · osv:Packagist:web-token/jwt-framework
  • Every version before 3.4.13
  • From 4.0.0 before 4.0.9
  • From 4.1.0 before 4.1.11
  • From 4.2.0 before 4.2.6
web-token/jwt-libraryPackagist · osv:Packagist:web-token/jwt-library
  • Every version before 3.4.13
  • From 4.0.0 before 4.0.9
  • From 4.1.0 before 4.1.11
  • From 4.2.0 before 4.2.6

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 fixed
PackageDebian releaseStatus
php-web-token-jwt-frameworksidunstableFixed in 4.2.7-1
14forkytestingFixed in 4.2.7-1

From Debian's security tracker for CVE-2026-137558 , read in the last 12 hours.

About web-token/jwt-encryption

Monthly downloads (Packagist)
85,596Packagist, 26 Nov 2026
Total downloads (Packagist)
6,937,541Packagist, 26 Nov 2026

About web-token/jwt-encryption-algorithm-rsa

Monthly downloads (Packagist)
18,216Packagist, 26 Nov 2026
Total downloads (Packagist)
2,303,303Packagist, 26 Nov 2026

Vulnerabilities in web-token/jwt-encryption-algorithm-rsa

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for web-token/jwt-encryption-algorithm-rsa

About web-token/jwt-framework

Monthly downloads (Packagist)
942,041Packagist, 26 Nov 2026
Total downloads (Packagist)
24,290,580Packagist, 26 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137558