Bug 2585156 (CVE-2026-137580)

Summary: CVE-2026-137580 web-token/jwt-signature: web-token/jwt-library: web-token/jwt-signature-algorithm-hmac: web-token/jwt-framework: web-token/jwt-core: web-token/jwt-framework: Denial of Service via quadratic parsing of JWS tokens
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 the web-token jwt-framework. When deserializing JSON General serialized JSON Web Signature (JWS) tokens, the token is repeatedly cloned for each signature processed, leading to quadratic processing time. An unauthenticated remote attacker can exploit this vulnerability by submitting a crafted token containing thousands of empty signatures, consuming excessive CPU resources and exhausting application workers to cause a denial of service (DoS).
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:17:22 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 parse JSON General serialized JWS tokens in quadratic time because JSONGeneralSerializer::unserialize() adds each signature via JWS::addSignature(), which clones the token. Unauthenticated remote attackers can send large tokens holding thousands of empty signatures to exhaust CPU and occupy PHP workers without any valid key or token.