Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-142550 — vapor jwt-kit

High · CVSS 7.5EPSS 1.2% First seen December 02, 2026

One of 3 vapor jwt-kit vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Research article

JWTKit Library Vulnerability Allows Remote Crash via Numeric Conversion

CVECVE-2026-142550
Vendor and productvapor jwt-kit
PublishedDecember 03, 2026 22:10 UTC
Research cut-offDecember 03, 2026 21:55 UTC
Sources reviewed4: NVD record (last modified 2026-12-03); CISA KEV catalog; GitHub advisory (2026-12-02); FIRST EPSS (2026-12-03)

Executive summary

The JWTKit library for Swift has a vulnerability that enables remote attackers to crash applications without valid credentials [1]. The CVSS 3.1 score is 7.5 HIGH, scored by security-advisories@github.com [1]. Affected versions are prior to 5.8.0 [1]. The reviewed sources do not report exploitation [2]. The main action is to update to the fixed version 5.8.0 [1].

Key points

  • The vulnerability allows remote attackers to crash an application without valid credentials [1].
  • The CVSS 3.1 score is 7.5 HIGH, scored by security-advisories@github.com [1].
  • The affected versions are prior to 5.8.0 [1].
  • The reviewed sources do not report exploitation [2].
  • The main action is to update to the fixed version 5.8.0 [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-142550vaporjwt-kitCWE-6817.5 HIGH, scored by security-advisories@github.com [1]2026-12-02T21:18:162026-12-03T15:17:11Received

Vulnerability description

A flaw in the JWTKit library allows a remote attacker to cause an application crash by sending a specially crafted JSON Web Token header. The issue arises during the parsing of numeric values in the header, which can lead to a Swift runtime trap when handling very large integers [1]. This vulnerability is resolved in version 5.8.0 [1].

Attack surface and exploitation prerequisites

The attack requires network access to the application, as the flaw is triggered by a remote request. No user interaction is needed, and the attacker does not need any prior authentication to exploit this vulnerability [1]. According to the CVSS vector, the attack is possible over the network with low access complexity and no privileges required [1].

Impact analysis

This flaw impacts system availability since it enables the app to crash even when there's no valid signature or awareness of the signing key [1]. The CVSS vector indicates no impact on confidentiality or integrity, but a high impact on availability [1].

Affected products and versions

Affected ProductAffected VersionFixed Version
vapor jwt-kit< 5.8.05.8.0 [1]

Exploitation and threat intelligence status

CVE-2026-142550 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-03 [2]. The EPSS score for this vulnerability is 1.19%, indicating a low probability of exploitation in the next 30 days [4].

Detection and exposure assessment

Organizations should check if they are using any version of vapor jwt-kit prior to 5.8.0, as this is the affected range [1]. The reviewed sources do not describe detection steps for this vulnerability.

Remediation

The vulnerability is fixed in version 5.8.0 of the jwt-kit library [1]. Organizations should update to this version to address the issue [1].

Remediation checklist

  1. Update to version 5.8.0 of the jwt-kit library [1].
  2. Verify that all dependent projects are using the fixed version (general guidance, not from the sources).
  3. Monitoring for unusual crashes related to JWT processing is general defensive guidance, not stated in the sources.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not describe the attack lifecycle or scenarios.
  • The sources do not provide indicators of compromise.
  • The sources do not list any mitigations beyond updating to the fixed version.

References

  1. CVE-2026-142550 record. NIST National Vulnerability Database (NVD), 2026-12-03. https://nvd.nist.gov/vuln/detail/CVE-2026-142550. Accessed 2026-12-03. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-03. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-03. Exploitation and threat intelligence status
  3. GHSA-hfm2-66rr-3mcf. GitHub Security Advisory Database, 2026-12-02. https://github.com/advisories/GHSA-hfm2-66rr-3mcf. Accessed 2026-12-03. Reviewed; not cited in the article.
  4. EPSS score for CVE-2026-142550. FIRST, 2026-12-03. https://api.first.org/data/v1/epss?cve=CVE-2026-142550. Accessed 2026-12-03. Exploitation and threat intelligence status

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-681: Incorrect Conversion between Numeric Types

Affected and fixed versions

ProductAffected versionsFixed in
github.com/vapor/jwt-kit (Swift)≤ 5.7.15.8.0
vapor jwt-kit< 5.8.0—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Affected

  • vapor jwt-kit

Frequently asked questions

What is CVE-2026-142550?

The JWTKit library for Swift has a vulnerability that enables remote attackers to crash applications without valid credentials. The CVSS 3.1 score is 7.5 HIGH, scored by security-advisories@github.com. Affected versions are prior to 5.8.0. The reviewed sources do not report exploitation. The main action is to update to the fixed version 5.8.0. Weakness type: Incorrect Conversion between Numeric Types (CWE-681).

How severe is CVE-2026-142550?

CVE-2026-142550 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-142550 being exploited?

Not as far as is known: CVE-2026-142550 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 1.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-142550?

github.com/vapor/jwt-kit (Swift) ≤ 5.7.1 (fixed in 5.8.0); vapor jwt-kit < 5.8.0.

How do I fix CVE-2026-142550?

Update to version 5.8.0 of the jwt-kit library. Verify that all dependent projects are using the fixed version (general guidance, not from the sources). Monitoring for unusual crashes related to JWT processing is general defensive guidance, not stated in the sources.

Timeline & sources

References