CVE-2026-142550
Last modified
CVE-2026-142550 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vapor | jwt-kit | < 5.8.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142550?
How severe is CVE-2026-142550?
How do I fix CVE-2026-142550?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142527A vulnerability has been found in OPTIMUM-LINKUP Latest-Opti…4.7
- CVE-2026-14253Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-14254A race condition in the account lockout mechanism in Delphix…8.3
- CVE-2026-142541Improper Neutralization of Argument Delimiters in a Command …6.3
- CVE-2026-142549JWTKit is a Swift library for signing and verifying JSON Web…4.9
- CVE-2026-14255A maliciously crafted IFC file, when parsed through certain …5.5
- CVE-2026-142551JWTKit is a Swift library for signing and verifying JSON Web…8.1
- CVE-2026-14256ELAN reported a potential out-of-bounds write vulnerability …4.7
- CVE-2026-14257brace-expansion through 5.0.7 is vulnerable to denial of ser…7.5
- CVE-2026-14258A flaw was found in dhcpcd's IPv6 Neighbor Discovery Router …6.5
- CVE-2026-14259Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7…4.3
- CVE-2026-142590Rack is a modular Ruby web server interface. Prior to 2.2.26…4.8
Are you affected by CVE-2026-142550?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
