StraitOfVuln
Latest / CVE-2026-142550

CVE-2026-142550

HighCVSS 7.5 (v3.1)Received
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-142550
Published / updated
02 Dec 2026, 21:18 UTC · last modified 03 Dec 2026, 15:17 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
vapor
Affected products
jwt-kit
Affected versions
jwt-kit: < 5.8.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
1.19% probability of exploitation in the next 30 days · 69% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com