Bug 2585139 (CVE-2026-137581)

Summary: CVE-2026-137581 web-token/jwt-framework: web-token/jwt-library: web-token/jwt-encryption: web-token/jwt-signature: web-token jwt-framework: Denial of Service via unbounded token decoding
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in web-token jwt-framework. A remote, unauthenticated attacker can exploit this flaw to cause a Denial of Service (DoS). The issue occurs because the token serializers decode untrusted JSON Web Signature (JWS) and JSON Web Encryption (JWE) inputs without enforcing size or structure limits before verification. By sending specially crafted tokens with deeply nested structures or colliding header parameters, an attacker can exhaust system memory or consume excessive processing time, rendering the service unavailable.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-26 16:16:20 UTC
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.