cve.bz

CVE-2021-4209 NULL Pointer Dereference

6.5 mediumEPSS 2.0%Fix available

Medium (6.5). EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
2.0% (unchanged from 1.9% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4209 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4209?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4209?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4209 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-4209

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-4209](https://cve.bz/cve/badge/CVE-2021-4209.svg)](https://cve.bz/cve/CVE-2021-4209)

HTML:

<a href="https://cve.bz/cve/CVE-2021-4209"><img src="https://cve.bz/cve/badge/CVE-2021-4209.svg" alt="CVE-2021-4209"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:gnutlsbefore 3.7.3
redhat:enterprise_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10gnutls283.6.7-4+deb10u9DLA-3070-1
Debian12, 13, 14gnutls283.7.3-2DEBIAN-CVE-2021-4209
Ubuntu18.04:LTSgnutls283.5.18-1ubuntu1.6UBUNTU-CVE-2021-4209 USN-5550-1
Ubuntu20.04:LTSgnutls283.6.13-2ubuntu1.7UBUNTU-CVE-2021-4209 USN-5550-1
Ubuntu22.04:LTSgnutls283.7.3-4ubuntu1.1USN-5550-1
UbuntuPro:14.04:LTSgnutls26no fix listedUBUNTU-CVE-2021-4209
UbuntuPro:16.04:LTSgnutls283.4.10-4ubuntu1.9+esm1UBUNTU-CVE-2021-4209 USN-5750-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moregnutls3.6.7-150000.6.45.2SUSE-SU-2022:2830-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 and 1 moregnutls3.6.7-14.16.1SUSE-SU-2022:0717-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5gnutls3.4.17-8.11.1SUSE-SU-2022:0678-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5gnutls3.3.27-3.6.1SUSE-SU-2022:0677-1
openSUSELeap 15.3gnutls3.6.7-14.16.1openSUSE-SU-2022:0717-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue is classified as low severity because it requires a very specific and rare set of conditions to be triggered. The vulnerability occurs only when GnuTLS is built with Guile support disabled and when an empty input (zero-length data) is passed during the TLS handshake process.

The crash caused by the NULL pointer dereference is a denial of service, but it does not result in remote code execution or data leakage. Additionally, the affected code path is rarely executed in practice, as it is often replaced by optimized, accelerated implementations. Compilers may also optimize away the issue in most cases, further reducing the likelihood of exploitation.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6gnutlsOut of support scope
Red Hat Enterprise Linux 7gnutlsOut of support scope
Red Hat Enterprise Linux 8gnutlsWill not fix
Red Hat Enterprise Linux 9gnutlsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4209.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON