cve.bz

CVE-2021-27645 Double Free

2.5 lowEPSS 0.4%Fix available

Low (2.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
The nameserver caching daemon (nscd) in the GNU C Library (aka glibc or libc6) 2.29 through 2.33, when processing a request for netgroup lookup, may crash due to a double-free, potentially resulting in degraded service or Denial of Service on the local system. This is related to netgroupcache.c.

Severity

CVSS 3.1

2.5 low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-415 Double Free
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-27645 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-27645?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-27645?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-27645 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-27645

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-27645](https://cve.bz/cve/badge/CVE-2021-27645.svg)](https://cve.bz/cve/CVE-2021-27645)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:glibcfrom 2.29 through 2.33
fedoraproject:fedora33
fedoraproject:fedora34
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10glibc2.28-10+deb10u2DLA-3152-1
Debian12, 13, 14glibc2.31-10DEBIAN-CVE-2021-27645
Ubuntu18.04:LTSglibc2.27-3ubuntu1.5USN-5310-1
Ubuntu20.04:LTSglibc2.31-0ubuntu9.7UBUNTU-CVE-2021-27645 USN-5310-1
Red Hatenterprise_linux:8::appstreamglibc-utils, glibc-debuginfo, glibc-debuginfo-common and 1 more0:2.28-164.el8RHSA-2021:4358
Red Hatenterprise_linux:8::baseosnscd, glibc, libnsl and 205 more0:2.28-164.el8RHSA-2021:4358
Red Hatenterprise_linux:8::crbnss_hesiod, glibc-static, glibc-debuginfo and 3 more0:2.28-164.el8RHSA-2021:4358
openSUSETumbleweedglibc2.34-1.2openSUSE-SU-2024:10792-1
AlmaLinux8nss_hesiod, glibc-utils, glibc-static and 3 more2.28-164.el8ALSA-2021:4358
Rocky Linux8glibc0:2.28-164.el8RLSA-2021:4358

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This is a local crash in nscd causing a performance penalty. It is constrained by needing a netgroup request to have a response larger than 1K to cause the double-free crash. Therefore this is not a full denial of service.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8glibc-0:2.28-164.el8Fixed 2021-11-09RHSA-2021:4358
Red Hat Enterprise Linux 6compat-glibcNot affected
Red Hat Enterprise Linux 6glibcNot affected
Red Hat Enterprise Linux 7compat-glibcNot affected
Red Hat Enterprise Linux 7glibcNot affected
Red Hat Enterprise Linux 9glibcNot 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-27645.

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
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone 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