Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-137558

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

Products / packages web-token jwt-library · web-token jwt-framework · web-token jwt-encryption · 1 more

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 29/11/2026, 00:45:31 UTC
VulnCheck · CVSS:4.0 · 6.3
Assessment vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck · CVSS:3.1 · 3.7
Assessment vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
The headline uses the highest imported catalog score. Assessments can differ by source and CVSS version.

Severity

medium6.3

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Fix status not established

No structured fix or guidance is available here. Check the latest publisher advisory.

What this means

web-token jwt-framework and jwt-library before 3.4.13 have a decryption oracle vulnerability, allowing attackers with the recipient's public key to recover a captured encrypted key. The weakness is due to missing cryptographic steps.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

web-token · VulnCheck

jwt-library

8 ranges

Package identity

pkg:composer/web-token/jwt-libraryExplore web-token/jwt-library →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → before 3.4.13

semver versions

4.0.0 → before 4.0.9

semver versions

4.1.0 → before 4.1.11

semver versions

4.2.0 → before 4.2.6

semver versions

unaffected

3.4.13

semver versions

4.0.9

semver versions

4.1.11

semver versions

4.2.6

semver versions

unknown

Other versions: unaffected

web-token · VulnCheck

jwt-framework

8 ranges

Package identity

pkg:composer/web-token/jwt-frameworkExplore web-token/jwt-framework →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → before 3.4.13

semver versions

4.0.0 → before 4.0.9

semver versions

4.1.0 → before 4.1.11

semver versions

4.2.0 → before 4.2.6

semver versions

unaffected

3.4.13

semver versions

4.0.9

semver versions

4.1.11

semver versions

4.2.6

semver versions

unknown

Other versions: unaffected

web-token · VulnCheck

jwt-encryption

2 ranges

Package identity

pkg:composer/web-token/jwt-encryptionExplore web-token/jwt-encryption →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → before 2.0.4

semver versions

unaffected

2.0.4

semver versions

unknown

Other versions: unaffected

web-token · VulnCheck

jwt-encryption-algorithm-rsa

1 range

Package identity

pkg:composer/web-token/jwt-encryption-algorithm-rsaExplore web-token/jwt-encryption-algorithm-rsa →

Identity supplied by VulnCheck. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → through 3.2.10

semver versions

unaffected

unknown

Other versions: unaffected

Automatic dependency matching is unavailable for this record. Use the product evidence and publisher’s instructions to check your installation.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher 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.

References

2 sources

Inside the record

Evidence available

Package identity
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers · not supplied

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-137558

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-325 ↗

Missing Cryptographic Step

VulnCheck

Related →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

VulnCheck · platform conditions

Any condition may hold

Vulnerable product

cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*

Before: 3.4.13

Vulnerable product

cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*

From (inclusive): 4.0.0

Before: 4.0.9

Vulnerable product

cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*

From (inclusive): 4.1.0

Before: 4.1.11

Vulnerable product

cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*

From (inclusive): 4.2.0

Before: 4.2.6

Applicability preview
[
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "3.4.13"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "4.0.0",
            "versionEndExcluding": "4.0.9"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "4.1.0",
            "versionEndExcluding": "4.1.11"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "4.2.0",
            "versionEndExcluding": "4.2.6"
          }
        ]
      }
    ]
  }
]
Contributing organizations · 1
VulnCheck

Assigning organization

2026-11-26

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

high8.2
CVE-2026-137559

web-token jwt-framework before 3.4.13 ECDH-ES DoS via Oversized epk Coordinate

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 allow CPU exhaustion because, on PHP without GMP, AbstractECDH falls back to pure PHP curve code that converts unbounded ECDH-ES epk x and y coordinates to big integers before any length check. Unauthenticated attackers who know only the recipient key's curve can send small JWEs with oversized epk coordinates, keeping workers busy for seconds to minutes per token.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

web-token · jwt-library / web-token · jwt-framework
high8.2
CVE-2026-137560

Web-token jwt-framework before 3.4.13 Denial of Service via Unbounded RSA Key Size

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 contain a denial of service vulnerability in RSAKey, which accepts RSA keys with a modulus and public exponent of unbounded length. Remote attackers can supply a crafted key, such as in the jwk header of a DPoP proof, to force seconds of CPU per PS256/PS384/PS512 verification or RSA encryption, or per any RSA operation when GMP is unavailable.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

web-token · jwt-library / web-token · jwt-framework
low3.1
CVE-2026-137561

Web-Token jwt-framework before 3.4.13 JWE Token Malleability via Non-Empty Encrypted Key

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, and jwt-encryption through 3.2.10, contain a token malleability flaw because JWEDecrypter does not reject a non-empty JWE Encrypted Key with the dir, ECDH-ES and ECDH-SS algorithms, which the authentication tag does not cover. Attackers holding one token can fill the Encrypted Key with arbitrary bytes to derive unlimited distinct token strings that still decrypt, bypassing replay caches, single-use registries or revocation deny-lists keyed on the token string.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

web-token · jwt-library / web-token · jwt-framework
medium6.3
CVE-2026-137562

web-token jwt-framework before 3.4.13 Missing Key Length Check in AES Key Wrapping

web-token jwt-framework 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 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption algorithms, so OpenSSL zero-pads short or empty keys. When an application uses an empty key, anyone can unwrap content encryption keys under the all-zero key to read issued tokens and forge accepted ones.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

web-token · jwt-library / web-token · jwt-framework
medium5.9
CVE-2026-137563

web-token jwt-framework 4.2.1 before 4.2.6 Key Exposure via JWE Exception Traces

web-token jwt-framework from 4.2.1 before 4.2.6 contains an information disclosure vulnerability that exposes decryption keys in exception stack traces when JWE tokens are rejected. Attackers can submit crafted JWE tokens so JWELoader and JWEDecrypter record dir, AES key wrapping, PBES2-derived or content encryption keys in logged trace arguments readable by others.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

web-token · jwt-library / web-token · jwt-framework
high8.2
CVE-2026-137564

web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption

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-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for direct (dir) encryption, so undersized keys are zero-padded. Anyone holding a token issued with a half-size AES-CBC-HMAC key can decrypt it, and an empty key also allows forging tokens the decrypter accepts.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

web-token · jwt-library / web-token · jwt-framework