CVE-2026-137581 web-token jwt-framework before 3.4.13 Denial of Service via Unbounded JSON Decoding

Published Updated

CVSS score

High

8.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.2.6, 4.1.11, 4.0.9 +1
Attack path
Over the network
No login, no user action

What is CVE-2026-137581?

CVE-2026-137581 is a high-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026.

Official description

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.

Weakness: CWE-407

How severe is CVE-2026-137581?

CVE-2026-137581 scores 8.2 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

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

Which versions are affected by CVE-2026-137581?

10 open source packages ship an affected version, including web-token/jwt-framework, web-token/jwt-encryption and web-token/jwt-library.

PackageAffectedFixed in
web-token/jwt-framework Packagist
pkg:composer/web-token/jwt-framework
All versions3.4.13
web-token/jwt-framework Packagist
pkg:composer/web-token/jwt-framework
From 4.0.04.0.9
web-token/jwt-framework Packagist
pkg:composer/web-token/jwt-framework
From 4.1.04.1.11
web-token/jwt-framework Packagist
pkg:composer/web-token/jwt-framework
From 4.2.04.2.6
web-token/jwt-encryption Packagist
pkg:composer/web-token/jwt-encryption
All versions to 3.2.10None
web-token/jwt-library Packagist
pkg:composer/web-token/jwt-library
All versions3.4.13
More packages 4
web-token/jwt-library Packagist
pkg:composer/web-token/jwt-library
From 4.0.04.0.9
web-token/jwt-library Packagist
pkg:composer/web-token/jwt-library
From 4.1.04.1.11
web-token/jwt-library Packagist
pkg:composer/web-token/jwt-library
From 4.2.04.2.6
web-token/jwt-signature Packagist
pkg:composer/web-token/jwt-signature
All versions to 3.2.10None

How do I fix CVE-2026-137581?

Upgrade web-token/jwt-framework to a fixed version for your release line: 4.2.6, 4.1.11, 4.0.9 or 3.4.13.

Is CVE-2026-137581 being exploited?

There is no known exploitation of CVE-2026-137581 in the wild and no public exploit code.

Sources

Also known as GHSA-2xq2-pp89-x7fr, GHSA-pwpj-659r-3g6v.

Is CVE-2026-137581 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free