Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain recipient RSA public key
-
DeliverySubmit many crafted JWEs for decryption
-
ExploitTime CRT-recombination rejection side channel
-
ExecutionBinary-search prime q and factor modulus
-
ImpactDecrypt all JWEs encrypted to key
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
|
| Exploitation Conditions | Requires an application that decrypts JWEs from untrusted senders using the RSA-OAEP, RSA-OAEP-256, or RSA1_5 key-encryption algorithms with an RSA private key that has CRT parameters (p, q, dp, dq, qi) - exactly what JWKFactory::createRSAKey() produces. The attacker must possess the recipient's public key, be able to submit JWEs (no valid token needed; every token is rejected), and collect timing measurements precise to a few microseconds over roughly 290,000 rejected tokens for a 2048-bit key. Limiting factors: the measurable timing step only exists on keys WITH CRT parameters (non-CRT keys show no step, though they remain unblinded); recovery was demonstrated only same-host, and network jitter substantially raises the sample count; rate-limiting rejected tokens raises cost but does not remove the flaw; applications accepting the JSON General serialization let an attacker amplify the signal across many recipients in one request. |
| Impact | This is a genuine but conditional cryptographic risk, not a drop-everything emergency. The input CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H) scores 8.2 and marks the vulnerability as network-reachable and unauthenticated (PR:N), with the AT:P (attack requirements present) metric correctly capturing that the attack is not trivial - the advisory states an attacker needs microsecond-precision timing over roughly 290,000 rejected tokens for a 2048-bit key, and recovery was only demonstrated from a separate process on the SAME host. Network recovery was explicitly NOT demonstrated, and jitter raises the required sample count. The vuln.today priority is 'this_week', consistent with a serious-but-paced response rather than act_now/emergency. No EPSS score and no KEV listing are provided in the input, and there is no published exploit code - only the reporter's (Anthropic OSS Scanner / VulnCheck) experimental local recovery. The high VC:H is justified: full RSA private-key recovery exposes every JWE ever encrypted to that key, past and future, and permits signature forgery if the key is reused for signing. Net: treat as a real priority for applications that decrypt untrusted RSA-encrypted JWEs, but the practical difficulty of remote microsecond timing meaningfully lowers the odds of widespread opportunistic exploitation versus a targeted attacker. |
| Exploit ScenarioDerived | An application decrypts JWEs from untrusted senders using RSA-OAEP, RSA-OAEP-256, or RSA1_5 with an RSA key that carries CRT parameters. An attacker holding the recipient's public key submits a large volume of crafted tokens - all of which are rejected - and times each rejection; because CRT recombination takes a few microseconds longer once the decrypted value reaches the prime q, the attacker binary-searches q, factors the modulus, and recovers the private key. The reporter demonstrated this against a fresh 2048-bit key in a few minutes from a separate process on the same host; no working public exploit code is published, and network-based recovery was not demonstrated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Unblinded RSA private key operations in web-token/jwt-framework and jwt-library (all versions before 3.4.13, 4.0.9, 4.1.11 and 4.2.6, plus jwt-core through 3.2.10) let an unauthenticated remote attacker who can submit JWEs recover the RSA decryption key by timing how long the library takes to reject crafted tokens, enabling decryption of every JWE encrypted to that key. Exploitation requires an application that decrypts attacker-supplied JWEs with RSA-OAEP, RSA-OAEP-256 or RSA1_5 using a CRT-parameterised private key, and the attacker must be able to measure rejections to a few microseconds across roughly 290,000 tokens for a 2048-bit key; the reporter demonstrated recovery only from a separate process on the same host, and network jitter raises the sample count substantially. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor has released patched versions that blind every RSA private key operation.
RemediationAI
Upgrade to a patched release: 4.2.6 (or later), 4.1.11, 4.0.9, or 3.4.13 if you are still on the 3.x line, which is end of life and should be migrated to 4.x. The fix blinds every RSA private key operation by applying the key to c · r^e mod n for a fresh random r coprime to n and multiplying the result by r^-1 mod n, so the values handled during exponentiation and CRT recombination no longer depend on sender input; the same release also rejects inputs equal to the modulus per RFC 8017. Expect each private key operation to cost roughly 5 to 20 percent more time (one extra modular exponentiation, one modular inverse, two modular multiplications). Two edge cases change: a private JWK whose e does not match its d now yields a wrong result, and calling an RSA algorithm class directly with an input equal to the modulus now throws a RuntimeException, while JWSVerifier and JWEDecrypter continue to reject such tokens as before. Until you can upgrade, stop decrypting RSA-encrypted JWEs from untrusted senders or switch key encryption to ECDH-ES with or without key wrapping, and rate limit rejected tokens, which raises the attack cost without eliminating the flaw. If an RSA decryption key was reachable by untrusted senders whose requests were not limited and your logs show a large volume of rejected JWEs for that key, rotate the key after upgrading, since every JWE previously encrypted to it is exposed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-208 (observable timing discrepancy) in RSAKey::exponentiate(), the RSA private key primitive behind the RSA-OAEP, RSA-OAEP-256 and RSA1_5 JWE key-encryption algorithms. The integer being exponentiated is chosen by whoever sends the token, and the library applied the private key to it directly with no blinding. When the private key carries CRT parameters (p, q, dp, dq, qi), which is what JWKFactory::createRSAKey() produces, the CRT recombination time depends on whether the recovered plaintext m lies below or above the prime q: the brick/math big-integer layer used since version 2.2.0 skips additions with 0 and multiplications by 1, and below q the recombination operates on exactly such operands, making rejection a few microseconds slower once m reaches q. Repeated timing of rejections permits a binary search on q, then factorisation of the modulus. The unblinded operation itself is as old as the library; only the measurable step dates from the move to brick/math in 2.2.0. Keys without CRT parameters exhibit no measurable step but were equally unblinded and are covered by the same fix. Applications that accept the JSON General serialization allow a sender to accumulate the difference across many recipients within a single request, amplifying the signal.
Know when Jwt Library gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable and unauthenticated JWE submission (PR:N), but microsecond timing over ~290k samples makes it AC:H; impact is RSA key recovery (C:H) with no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-208 (Observable Timing Discrepancy) - the defect is a missing RSA blinding step, not a logic error in JWE parsing.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in the widely used web-token/jwt-framework and related libraries could allow an attacker to recover RSA private keys by measuring decryption timing, potentially exposing all JWEs encrypted with those keys. This impacts any application that decrypts untrusted JWEs, putting sensitive encrypted data and authentication tokens at risk. Leadership should prioritize patching to prevent key compromise and subsequent data breaches.
No vendor-released patch identified at time of analysis; however, the vendor has released patched versions that blind RSA private key operations (3.4.13, 4.0.9, 4.1.11, 4.2.6, and jwt-core 3.2.10). Until patched, limit exposure by restricting JWE decryption endpoints to trusted networks, rate-limiting requests, and monitoring for timing attacks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Jwt Library
View allNATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings ar
Unauthenticated remote attackers can exhaust server CPU in PHP applications using the web-token/jwt-framework or jwt-lib
PHP applications using web-token/jwt-framework or its jwt-library component that register the RSA1_5 key-encryption algo
CPU-exhaustion denial of service in web-token/jwt-framework and the related jwt-library, jwt-encryption and jwt-signatur
CPU exhaustion in web-token JWT Framework (jwt-framework and jwt-library) lets an unauthenticated remote attacker keep P
Unauthenticated CPU and memory exhaustion in web-token/jwt-framework and web-token/jwt-library lets anyone who can submi
JWE tokens produced with ECDH-ES (or the non-registered ECDH-SS) direct key agreement and A256CBC-HS512 in web-token/jwt
Confidentiality loss in web-token/jwt-framework and the underlying jwt-library: JWE tokens produced with direct encrypti
Unbounded RSA key parameters in web-token/jwt-framework and jwt-library allow a remote, unauthenticated attacker to cons
Parsing JSON General serialized JWS tokens in web-token/jwt-framework and the underlying jwt-library (before 3.4.13, 4.0
RSA-OAEP decryption in web-token/jwt-framework and jwt-library accepts a JWE Encrypted Key composed of several RSA block
The web-token/jwt-framework PHP library fails to validate the length of oct keys used with A128KW/A192KW/A256KW, A128GCM
EUVD-2026-136749
NVD
CVE.org
EPSS
GitHub
Exploit-DB