---
id: CVE-2024-33599
title: 'nscd: Stack-based buffer overflow in netgroup cache'
summary: |-
  nscd: Stack-based buffer overflow in netgroup cache

  If the Name Service Cache Daemon's (nscd) fixed size cache is exhausted
  by client requests then a subsequent client request for netgroup data
  may result in a stack-based buffer overflo…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: adp
cwe:
  - CWE-121
vendor: The GNU C Library
product: glibc
affected:
  - glibc >= 2.15 < 2.40
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-05-29T19:01:02.703174Z'
published: '2024-05-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T00:40:36.022Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-33599'
references:
  - url: >-
      https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0005
  - url: 'https://security.netapp.com/advisory/ntap-20240524-0011/'
  - 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.0131
epssPercentile: 0.70072
ingestedAt: '2026-10-15T04:46:37.312Z'
---

## Overview

nscd: Stack-based buffer overflow in netgroup cache

If the Name Service Cache Daemon's (nscd) fixed size cache is exhausted
by client requests then a subsequent client request for netgroup data
may result in a stack-based buffer overflow.  This 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.
