CVEfocus › CVE database › CVE-2026-127040

CVE-2026-127040gnutls: denial of service via memory allocation failure in RSA-PSK ClientKeyExchange

CVSS 5.9 MediumEPSS 0.5% (higher than 35% of CVEs)Published 2026-11-18Updated 2026-11-19Assigner: gnutls

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.

CWE-476

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gnutls28Fix pendingUBUNTU-CVE-2026-127040
Ubuntu 26.04gnutls28Under investigationUBUNTU-CVE-2026-127040
Ubuntu 24.04gnutls28Under investigationUBUNTU-CVE-2026-127040
Ubuntu 22.04gnutls28Under investigationUBUNTU-CVE-2026-127040
Ubuntu 20.04gnutls28Fix pendingUBUNTU-CVE-2026-127040
Ubuntu 18.04gnutls28Fix pendingUBUNTU-CVE-2026-127040
Ubuntu 16.04gnutls28Fix pendingUBUNTU-CVE-2026-127040
Debian 14gnutls28Fix pendingDEBIAN-CVE-2026-127040
Debian 13gnutls28Fix pendingDEBIAN-CVE-2026-127040
Debian 12gnutls28Fix pendingDEBIAN-CVE-2026-127040
Alpine Linux 3.24gnutlsFixed3.8.14-r0ALPINE-CVE-2026-127040
Alpine Linux 3.23gnutlsFixed3.8.14-r0ALPINE-CVE-2026-127040
Alpine Linux 3.22gnutlsFixed3.8.14-r0ALPINE-CVE-2026-127040
Alpine Linux 3.21gnutlsFixed3.8.14-r0ALPINE-CVE-2026-127040

What the vendor says

As published in the CVE record by gnutls, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.