# CVE-2024-33601: nscd: netgroup cache may terminate daemon on memory allocation failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.19% (percentile 68, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2024-05-06T19:22:07.763Z
- **Modified:** 2026-10-15T00:40:38.807Z

## Who should check

- Anyone running The GNU C Library glibc \>= 2.15, \< 2.40

## Description

nscd: netgroup cache may terminate daemon on memory allocation failure

The Name Service Cache Daemon's (nscd) netgroup cache uses xmalloc or
xrealloc and these functions may terminate the process due to a memory
allocation failure resulting in a denial of service to the clients.  The
flaw was introduced in glibc 2.15 when the cache was added to nscd.

This vulnerability is only present in the nscd binary.

## Affected and fixed versions

- The GNU C Library glibc: \>= 2.15, \< 2.40 (cvelist)

## Mitigation

- Upgrade glibc to 2.40 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-33601. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-33601.md
Affected: The GNU C Library glibc >= 2.15, < 2.40
Fixed in: The GNU C Library glibc 2.40

Steps:
1. Search this machine and project for The GNU C Library glibc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-33601 being exploited?

There is no confirmed exploitation: CVE-2024-33601 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-33601?

High: CVSS 7.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-33601?

The GNU C Library glibc \>= 2.15, \< 2.40.

### Is there a fix for CVE-2024-33601?

Yes. Fixed in The GNU C Library glibc 2.40. Upgrade glibc to 2.40 or later.

### How do I check if I'm affected by CVE-2024-33601?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0007>
- other: <https://security.netapp.com/advisory/ntap-20240524-0014/>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00026.html>
- other: <http://www.openwall.com/lists/oss-security/2024/07/22/5>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-33601>

HTML: <https://flawdb.com/CVE-2024-33601> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-33601>
