Live threats

All CVEs / web-token

CVE-2026-134461web-token jwt-library

High 8.7 No auth neededRecent

Priority
74
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Nov 21, 2026
Updated
Nov 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Web-Token jwt-framework and jwt-library before 3.4.10, 4.0.0 before 4.0.7, and 4.1.0 before 4.1.7 contain an uncontrolled resource consumption vulnerability in PBES2AESKW::unwrapKey(), which passes the attacker-controlled p2c JWE header value to hash_pbkdf2() without an upper bound. Unauthenticated attackers can send a JWE using a PBES2-HS*+A*KW algorithm with a huge p2c iteration count to force lengthy PBKDF2 computations and exhaust server CPU.

Original NVD text.

What to do

  1. Apply the vendor's security update for jwt-library.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist web-token/jwt-framework < 3.4.10 3.4.10 composer require "web-token/jwt-framework:^3.4.10"
Packagist web-token/jwt-framework ≥ 4.0.0 < 4.0.7 4.0.7 composer require "web-token/jwt-framework:^4.0.7"
Packagist web-token/jwt-framework ≥ 4.1.0 < 4.1.7 4.1.7 composer require "web-token/jwt-framework:^4.1.7"
Packagist web-token/jwt-library < 3.4.10 3.4.10 composer require "web-token/jwt-library:^3.4.10"
Packagist web-token/jwt-library ≥ 4.0.0 < 4.0.7 4.0.7 composer require "web-token/jwt-library:^4.0.7"
Packagist web-token/jwt-library ≥ 4.1.0 < 4.1.7 4.1.7 composer require "web-token/jwt-library:^4.1.7"

Per OSV / GitHub Advisories (GHSA-3prj-6hqw-cm82). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.