CVEfocus › CVE database › CVE-2021-4209

CVE-2021-4209

CVSS 6.5 MediumEPSS 2.0% (higher than 81% of CVEs)Published 2022-08-24Updated 2026-10-14Assigner: redhat

A NULL pointer dereference flaw was found in GnuTLS. As Nettle's hash update functions internally call memcpy, providing zero-length input may cause undefined behavior. This flaw leads to a denial of service after authentication in rare circumstances.

CWE-476

What to do

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

Ubuntu has 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

5Fixed
3Fix pending
14Will not fix
9Not affected

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.04gnutls28Not affected
vulnerable_code_not_present
Ubuntu 25.10gnutls28Not affected
vulnerable_code_not_present
Ubuntu 24.04gnutls28Not affected
vulnerable_code_not_present
Ubuntu 22.04gnutls28Not affected
vulnerable_code_not_present
Ubuntu 20.04gnutls28Fixed3.6.13-2ubuntu1.7UBUNTU-CVE-2021-4209
Ubuntu 18.04gnutls28Fixed3.5.18-1ubuntu1.6UBUNTU-CVE-2021-4209
Ubuntu 16.04gnutls28Fix pending3.4.10-4ubuntu1.9+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-4209
Ubuntu 14.04gnutls26Fix pendingUBUNTU-CVE-2021-4209
Ubuntu 14.04gnutls28Fix pending
Debian 14gnutls28Fixed3.7.3-2DEBIAN-CVE-2021-4209
Debian 13gnutls28Fixed3.7.3-2DEBIAN-CVE-2021-4209
Debian 12gnutls28Fixed3.7.3-2DEBIAN-CVE-2021-4209
Red Hat Enterprise Linux 9gnutlsNot affected
Red Hat Enterprise Linux 9gnutls-c++Not affected
Red Hat Enterprise Linux 9gnutls-daneNot affected
Red Hat Enterprise Linux 9gnutls-develNot affected
Red Hat Enterprise Linux 9gnutls-utilsNot affected
Red Hat Enterprise Linux 8gnutlsWill not fix
Will not fix
Red Hat Enterprise Linux 8gnutls-c++Will not fix
Will not fix
Red Hat Enterprise Linux 8gnutls-daneWill not fix
Will not fix
Red Hat Enterprise Linux 8gnutls-develWill not fix
Will not fix
Red Hat Enterprise Linux 8gnutls-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 7gnutlsWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnutls-c++Will not fix
Out of support scope
Red Hat Enterprise Linux 7gnutls-daneWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnutls-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnutls-utilsWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutlsWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-guileWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-utilsWill not fix
Out of support scope

What the vendor says

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

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.