{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-127040",
        "assignerOrgId": "56096609-bc02-44d5-8c89-cc887c27f7bb",
        "state": "PUBLISHED",
        "assignerShortName": "gnutls",
        "dateReserved": "2026-11-12T11:19:16.350Z",
        "datePublished": "2026-11-18T23:29:11.461Z",
        "dateUpdated": "2026-11-18T23:29:11.461Z"
    },
    "containers": {
        "cna": {
            "title": "gnutls: denial of service via memory allocation failure in RSA-PSK ClientKeyExchange",
            "metrics": [
                {
                    "other": {
                        "type": "GnuTLS severity rating",
                        "content": {
                            "value": "Low",
                            "description": "GnuTLS severity rating: Low. Exploitation requires an allocation failure to happen at a specific call during PSK username copying.",
                            "namespace": "https://gitlab.com/gnutls/gnutls/-/raw/3.8.14/SECURITY.md",
                            "justification": [
                                "memory-pressure"
                            ]
                        }
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH"
                    },
                    "format": "CVSS"
                }
            ],
            "datePublic": "2026-11-18T00:00:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The RSA-PSK ClientKeyExchange handler in gnutls before 3.8.14 does not return after detecting a memory allocation failure when copying the PSK username, which allows remote attackers to cause a denial of service for a peer under heap pressure."
                }
            ],
            "affected": [
                {
                    "packageName": "gnutls",
                    "vendor": "GnuTLS Project",
                    "product": "GnuTLS",
                    "repo": "https://gitlab.com/gnutls/gnutls",
                    "versions": [
                        {
                            "version": "3.7.7",
                            "status": "affected",
                            "lessThanOrEqual": "3.8.13",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-476",
                            "description": "CWE-476: NULL Pointer Dereference",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Joshua Rogers of AISLE Research Team"
                }
            ],
            "references": [
                {
                    "url": "https://gitlab.com/gnutls/gnutls/-/work_items/1868",
                    "name": "Missing return after gnutls_assert_val() in RSA-PSK ClientKeyExchange handler",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://gnutls.org/security-new.html",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "56096609-bc02-44d5-8c89-cc887c27f7bb",
                "shortName": "gnutls",
                "dateUpdated": "2026-11-18T23:29:11.461Z"
            },
            "source": {
                "advisory": "GNUTLS-SA-2026-11-18-2",
                "discovery": "EXTERNAL",
                "url": "https://gitlab.com/gnutls/gnutls/-/work_items/1868"
            },
            "x_generator": {
                "engine": "cve-report 0.1.0"
            }
        }
    }
}