---
id: CVE-2024-33602
title: 'nscd: netgroup cache assumes NSS callback uses in-buffer strings'
summary: |-
  nscd: netgroup cache assumes NSS callback uses in-buffer strings

  The Name Service Cache Daemon's (nscd) netgroup cache can corrupt memory
  when the NSS callback does not store all strings in the provided buffer.
  The flaw was introduced i…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: adp
cwe:
  - CWE-466
vendor: The GNU C Library
product: glibc
affected:
  - glibc >= 2.15 < 2.40
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2024-06-13T16:09:29.755117Z'
published: '2024-05-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T00:40:40.109Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-33602'
references:
  - url: >-
      https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0008
  - url: 'https://security.netapp.com/advisory/ntap-20240524-0012/'
  - 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.00403
epssPercentile: 0.32878
ingestedAt: '2026-10-15T04:46:37.313Z'
---

## Overview

nscd: netgroup cache assumes NSS callback uses in-buffer strings

The Name Service Cache Daemon's (nscd) netgroup cache can corrupt memory
when the NSS callback does not store all strings in the provided buffer.
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.
