CVE-2026-137579 in jwt-coreinfo

Summary

by MITRE • 11/26/2026

Web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6, and jwt-core through 3.2.10, perform unblinded RSA private key operations in RSAKey::exponentiate(), so CRT recombination time reveals whether a decrypted RSA-OAEP, RSA-OAEP-256, or RSA1_5 value is below the prime q. Attackers who can submit JWEs can time rejections of crafted tokens to binary search q, factor the modulus, and decrypt all JWEs encrypted to that key.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/27/2026

The identified vulnerability resides within multiple versions of the jwt-framework and related JWT libraries for PHP, specifically affecting releases prior to version 3.4.13 in the legacy branch, as well as versions before 4.0.9, 4.1.11, and 4.2.6 in their respective major branches, along with jwt-core through version 3.2.10. This security flaw is classified under CWE-358, which denotes a timing side-channel attack where the execution time of an operation leaks information about secret data. The core technical issue lies within the RSAKey::exponentiate() method, which performs unblinded RSA private key operations. In cryptographic implementations involving Chinese Remainder Theorem (CRT) optimization for performance, the decryption process is split into two smaller modular exponentiations using the prime factors p and q of the modulus n. If these operations are not blinded with a random value before execution, the time taken to complete them can vary depending on the intermediate values generated during computation.

In this specific instance, the timing variation reveals whether the decrypted RSA-OAEP or RSA-1_5 payload is numerically smaller than the prime factor q. This leakage occurs because the implementation does not employ proper randomization techniques that would mask the relationship between the input ciphertext and the internal computational paths taken during decryption. An attacker who can submit JSON Web Encryption (JWE) tokens to a server utilizing these vulnerable library versions can exploit this timing difference. By carefully measuring the response times for crafted JWEs, an adversary can perform a binary search against the prime q. This process allows the attacker to gradually determine the value of q with high precision through statistical analysis of latency differences across thousands or millions of requests.

Once the prime factor q is successfully extracted via this timing oracle attack, the attacker gains the ability to compute the other prime factor p from the public modulus n, since n equals p multiplied by q. With both prime factors known, the private key can be fully reconstructed. This constitutes a catastrophic failure of confidentiality for all data encrypted using that specific RSA key pair. The operational impact is severe, as it enables an attacker to decrypt any JWE messages previously intercepted or stored in transit if they were encrypted with the compromised public key. This effectively nullifies the security guarantees provided by asymmetric encryption for those communications, exposing sensitive user data, authentication tokens, and other protected payloads contained within the JWT structures.

This vulnerability aligns with MITRE ATT&CK technique T1564.002, which involves software exploitation through timing side channels to bypass protections or extract secrets. It also relates to CWE-385 regarding code flaws that lead to information leakage via execution time variations. To mitigate this risk, organizations must immediately upgrade the affected jwt-framework and jwt-core libraries to their patched versions: 3.4.13 or later for version 3.x, 4.0.9 or later for version 4.0.x, 4.1.11 or later for version 4.1.x, 4.2.6 or later for version 4.2.x, and jwt-core to at least version 3.2.11 if applicable. Until upgrades are implemented, administrators should consider implementing request rate limiting to slow down the high-volume of requests required for a successful timing attack, although this is only a partial mitigation as determined attackers can still proceed with sufficient patience. Additionally, reviewing cryptographic implementations to ensure all private key operations utilize proper blinding techniques is critical for preventing similar side-channel vulnerabilities in other components of the application stack.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00231

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!