{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142550",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-12-02T19:29:19.037Z",
        "datePublished": "2026-12-02T20:52:38.265Z",
        "dateUpdated": "2026-12-03T14:56:18.104Z"
    },
    "containers": {
        "cna": {
            "title": "JWTKit: Unauthenticated denial of service when parsing malicious JWT headers",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-681",
                            "lang": "en",
                            "description": "CWE-681: Incorrect Conversion between Numeric Types",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-hfm2-66rr-3mcf",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/vapor/jwt-kit/security/advisories/GHSA-hfm2-66rr-3mcf"
                },
                {
                    "name": "https://github.com/vapor/jwt-kit/commit/a87b6f52efa0bf47f4925d52380e4f2d8346c003",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vapor/jwt-kit/commit/a87b6f52efa0bf47f4925d52380e4f2d8346c003"
                },
                {
                    "name": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vapor/jwt-kit/releases/tag/5.8.0"
                }
            ],
            "affected": [
                {
                    "vendor": "vapor",
                    "product": "jwt-kit",
                    "versions": [
                        {
                            "version": "< 5.8.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-02T20:52:38.265Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-hfm2-66rr-3mcf",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-03T14:55:58.884448Z",
                                "id": "CVE-2026-142550",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-03T14:56:18.104Z"
                }
            }
        ]
    }
}