Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-142550
Published:December 02, 2026
Updated:December 04, 2026
JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, JWTKeyCollection.verify() in Sources/JWTKit/JWTKeyCollection.swift parses the JWT header using JWTParser.parseHeader() in Sources/JWTKit/JWTParser.swift before selecting a signer and verifying the signature. During parsing, JWTHeaderField.init(from:) in Sources/JWTKit/JWTHeaderField.swift decodes JSON numbers as Double and converts integral values to Int without checking the representable range. A remote unauthenticated attacker can provide an extremely large integral header value that triggers a Swift runtime trap and crashes the application without a valid signature or knowledge of the signing key. This issue is fixed in version 5.8.0.
Affected Packages
https://github.com/vapor/jwt-kit.git (GITHUB):
Affected version(s) >=5.0.0 <5.8.0
Fix Suggestion:
Update to version 5.8.0
github.com/vapor/jwt-kit (SWIFT):
Affected version(s) >=5.0.0 <5.8.0
Fix Suggestion:
Update to version 5.8.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Incorrect Conversion between Numeric Types
EPSS
Base Score:
1.19