CVE Vulnerabilities

CVE-2021-27645

Double Free

Published: Feb 24, 2021 | Modified: Jun 09, 2025
CVSS 3.x
2.5
LOW
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS 2.x
1.9 LOW
AV:L/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
2.5 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
GlibcGnu2.29 (including)2.33 (including)
Red Hat Enterprise Linux 8RedHatglibc-0:2.28-164.el8*
Red Hat Enterprise Linux 8RedHatglibc-0:2.28-164.el8*
EglibcUbuntutrusty*
GlibcUbuntuesm-infra/focal*
GlibcUbuntufocal*
GlibcUbuntugroovy*
GlibcUbuntutrusty*
GlibcUbuntuxenial*

Potential Mitigations

References