cve.bz

CVE-2026-134461 Web-Token jwt-framework before 3.4.10 DoS via Unbounded PBES2 p2c Iteration Count

8.7 highFix available

High (8.7) in web-token. Fixed in web-token/jwt-library 3.4.10, 4.0.7, 4.1.7.

On this page
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.

Severity

CVSS 4.0

8.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Assigned by
VulnCheck (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • web-token/jwt-library (Packagist): fixed in 3.4.10, 4.0.7, 4.1.7
  • web-token/jwt-framework (Packagist): fixed in 3.4.10, 4.0.7, 4.1.7

Ask an AI about this CVE

Show the promptExplain CVE-2026-134461 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-134461?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-134461?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-134461 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
web-token jwt-libraryfrom 3.3.0 before 3.4.10
web-token jwt-libraryfrom 4.0.0 before 4.0.7
web-token jwt-libraryfrom 4.1.0 before 4.1.7
web-token jwt-frameworkbefore 3.4.10
web-token jwt-frameworkfrom 4.0.0 before 4.0.7
web-token jwt-frameworkfrom 4.1.0 before 4.1.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3prj-6hqw-cm82Packagistweb-token/jwt-library<3.4.103.4.10
GHSA-3prj-6hqw-cm82Packagistweb-token/jwt-framework<3.4.103.4.10
GHSA-3prj-6hqw-cm82Packagistweb-token/jwt-library>=4.0.0 <4.0.74.0.7
GHSA-3prj-6hqw-cm82Packagistweb-token/jwt-library>=4.1.0 <4.1.74.1.7
GHSA-3prj-6hqw-cm82Packagistweb-token/jwt-framework>=4.0.0 <4.0.74.0.7
GHSA-3prj-6hqw-cm82Packagistweb-token/jwt-framework>=4.1.0 <4.1.74.1.7

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON