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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"gnu:glibc": [
">= 2.15, < 2.40"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-33599",
"id": "CVE-2024-33599",
"imported": "2026-12-02T20:36:47.148Z",
"modified": "2026-06-17T07:32:03.820Z",
"published": "2024-05-06T20:15:11.437Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-33599"
},
{
"html_url": "https://github.com/advisories/GHSA-9gvm-vcgf-x5xw",
"id": "GHSA-9gvm-vcgf-x5xw",
"imported": "2026-12-02T20:37:31.446Z",
"modified": "2026-05-12T12:32:48Z",
"published": "2024-05-06T21:30:38Z",
"url": "https://api.github.com/advisories/GHSA-9gvm-vcgf-x5xw"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-31336",
"id": "EUVD-2024-31336",
"imported": "2026-12-02T20:36:48.819Z",
"modified": "2026-10-15T00:40:36Z",
"published": "2024-05-06T19:21:54Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2024-31336"
}
]
}