Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-137581 — web-token jwt-library

High · CVSS 8.2 First seen November 26, 2026

One of 11 web-token jwt-library vulnerabilities published together by NVD: our article covers all of them.

VulnerabilitiesData protection

Summary

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 and jwt-signature through 3.2.10, contain a denial of service vulnerability because the JWS and JWE serializers pass attacker-controlled tokens and protected headers to json_decode() without bounds before verification. Unauthenticated attackers can submit large tokens with colliding header member names or deeply nested arrays to cause quadratic decoding time or fatal memory exhaustion.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.2 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
only in some setups or conditions
Login needed
no
User action needed
no
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

Vector CVSS:4.0/AV:N/AC:L/AT:P/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 · CVSS 3.1 5.9 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Affected and fixed versions

ProductAffected versionsFixed in
web-token jwt-library< 3.4.133.4.13
≥ 4.0.0, < 4.0.94.0.9
≥ 4.1.0, < 4.1.114.1.11
≥ 4.2.0, < 4.2.64.2.6
web-token jwt-framework< 3.4.133.4.13
≥ 4.0.0, < 4.0.94.0.9
≥ 4.1.0, < 4.1.114.1.11
≥ 4.2.0, < 4.2.64.2.6
web-token jwt-signature≤ 3.2.10—
web-token jwt-encryption≤ 3.2.10—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • web-token jwt-library
  • web-token jwt-framework
  • web-token jwt-signature
  • web-token jwt-encryption

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-137581?

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 and jwt-signature through 3.2.10, contain a denial of service vulnerability because the JWS and JWE serializers pass attacker-controlled tokens and protected headers to jsondecode() without bounds before verification. Weakness type: Inefficient Algorithmic Complexity (CWE-407).

How severe is CVE-2026-137581?

CVE-2026-137581 has a CVSS 4.0 base score of 8.2 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-137581 being exploited?

Not as far as is known: CVE-2026-137581 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.

Which versions are affected by CVE-2026-137581?

web-token jwt-library < 3.4.13 (fixed in 3.4.13); web-token jwt-library ≥ 4.0.0, < 4.0.9 (fixed in 4.0.9); web-token jwt-library ≥ 4.1.0, < 4.1.11 (fixed in 4.1.11); web-token jwt-library ≥ 4.2.0, < 4.2.6 (fixed in 4.2.6); and more, listed on this page.

How do I fix CVE-2026-137581?

Update to a fixed release: web-token jwt-library 3.4.13; web-token jwt-library 4.0.9; web-token jwt-library 4.1.11.

Timeline & sources

References