---
id: CVE-2024-33601
title: 'nscd: netgroup cache may terminate daemon on memory allocation failure'
summary: |-
  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 resul…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
cvssSource: adp
cwe:
  - CWE-617
vendor: The GNU C Library
product: glibc
affected:
  - glibc >= 2.15 < 2.40
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2024-05-09T17:26:01.322253Z'
published: '2024-05-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T00:40:38.807Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-33601'
references:
  - url: >-
      https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0007
  - url: 'https://security.netapp.com/advisory/ntap-20240524-0014/'
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00026.html'
  - url: 'http://www.openwall.com/lists/oss-security/2024/07/22/5'
tags:
  - cve.org
epss: 0.01075
epssPercentile: 0.64285
ingestedAt: '2026-10-15T04:46:37.313Z'
---

## Overview

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

- `glibc >= 2.15 < 2.40`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
