{"id":"CVE-2026-127040","summary":"gnutls: denial of service via memory allocation failure in RSA-PSK ClientKeyExchange","details":"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.","modified":"2026-11-19T01:00:11.536148388Z","published":"2026-11-18T23:29:11.461Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127040.json","cna_assigner":"gnutls","cwe_ids":["CWE-476"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127040.json"},{"type":"PACKAGE","url":"https://gitlab.com/gnutls/gnutls"},{"type":"REPORT","url":"https://gitlab.com/gnutls/gnutls/-/work_items/1868"},{"type":"ADVISORY","url":"https://gnutls.org/security-new.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127040"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gnutls/gnutls","events":[{"introduced":"6231f181fda3a1b4ef64e73803cedc587a6202df"},{"last_affected":"b390d80208ed60f1b33ad899475951a8efb40ccd"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"3.7.7"},{"last_affected":"3.8.13"}],"source":"AFFECTED_FIELD"}]}}],"versions":["3.8.13","3.8.12","3.8.11","3.8.10","3.8.9","3.8.8","3.8.7","3.8.6","3.8.5","3.8.4","3.8.3","3.8.2","3.8.1","3.8.0","3.7.8","3.7.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-127040.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}