Skip to content
OpenAdvisories
High · 8.1 CVE-2024-33599 EUVD-2024-31336GHSA-9gvm-vcgf-x5xw

nscd: Stack-based buffer overflow in netgroup cache

Published May 6, 2024 · Updated Oct 15, 2026 · Assigned by glibc

Description

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 products

VendorProductAffectedFixed
The GNU C Library glibc 2.15 – < 2.40 2.40

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.37-19 —
Debian 13 glibc 2.37-19 —
Debian 12 glibc 2.36-9+deb12u7 DSA-5678-1
Debian 11 glibc 2.31-13+deb11u10 DSA-5678-1
Debian 10 glibc 2.28-10+deb10u4 DLA-3850-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS glibc 2.39-0ubuntu8.2 USN-6804-1
Ubuntu 22.04 LTS glibc 2.35-0ubuntu3.8 USN-6804-1
Ubuntu 20.04 LTS glibc 2.31-0ubuntu9.16 USN-6804-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS glibc 2.27-3ubuntu1.6+esm3 USN-6804-1
Ubuntu Pro 16.04 LTS glibc 2.23-0ubuntu11.3+esm7 USN-6804-1
Ubuntu Pro 14.04 LTS eglibc No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 nscd +214 2.34-100.el9_4.2 RHSA-2024:3339
RHEL 8 nscd +213 2.28-251.el8_10.2 RHSA-2024:3344
RHEL 7 nscd +7 2.17-326.el7_9.3 RHSA-2024:3588
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 glibc-devel +1 2.28-189.10.el8_6 RHSA-2024:2799
RHEL 9.2 EUS nscd +214 2.34-60.el9_2.14 RHSA-2024:3411
RHEL 9.0 EUS nscd +214 2.34-28.el9_0.6 RHSA-2024:3423
RHEL 8.8 EUS nscd +213 2.28-225.el8_8.11 RHSA-2024:3312
RHEL 8.6 EUS nscd +213 2.28-189.10.el8_6 RHSA-2024:2799
RHEL 8.4 TUS glibc-utils +2 2.28-151.el8_4.2 RHSA-2024:3309
RHEL 8.4 E4S glibc +180 2.28-151.el8_4.2 RHSA-2024:3309
RHEL 8.4 AUS nscd +208 2.28-151.el8_4.2 RHSA-2024:3309
RHEL 8.2 AUS nscd +208 2.28-101.el8_2.2 RHSA-2024:3464

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nscd +214 2.34-100.el9_4.2 ALSA-2024:3339
AlmaLinux 8 nscd +213 2.28-251.el8_10.2 ALSA-2024:3344

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 glibc 2.34-100.el9_4.2 RLSA-2024:3339
Rocky Linux 8 glibc 2.28-251.el8_10.2 RLSA-2024:3344
ReleasePackageFixed inAdvisory
SLES 15 SP5 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLES 15 SP4 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLES 15 SP3 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLES 15 SP2 glibc 2.26-150000.13.73.1 SUSE-SU-2024:1977-1
SLES 12 SP5 glibc 2.22-114.34.1 SUSE-SU-2024:1675-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLES for SAP 15 SP3 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLES for SAP 15 SP2 glibc 2.26-150000.13.73.1 SUSE-SU-2024:1977-1
SLES for SAP 12 SP5 glibc 2.22-114.34.1 SUSE-SU-2024:1675-1
SLE Micro 6.0 glibc 2.38-7.1 SUSE-SU-2025:20038-1
SLE Micro 5.5 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-2, SUSE-SU-2024:1895-1
SLE Micro 5.4 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLE Micro 5.3 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLE Micro 5.2 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLE Micro 5.1 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLE HPC 15 SP4 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLE HPC 15 SP3 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SLE HPC 15 SP2 glibc 2.26-150000.13.73.1 SUSE-SU-2024:1977-1
SUSE Manager Server 4.3 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SUSE Manager Proxy 4.3 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
SUSE Enterprise Storage 7.1 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.39-6.1 openSUSE-SU-2024:13935-1
openSUSE Leap 15.5 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1
openSUSE Leap Micro 5.3 glibc 2.31-150300.83.1 SUSE-SU-2024:1895-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nscd +217 2.34-181.amzn2023.0.1 ALAS2023-2025-988

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc 2.38-11 —
Azure Linux 2 (CBL-Mariner) glibc 2.35-7 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nscd +214 2.34-100.0.1.el9_4.2 ELSA-2024-3339
Oracle Linux 8 nscd +213 2.28-251.0.2.el8_10.2 ELSA-2024-3344
Oracle Linux 7 nscd +6 2.17-326.0.9.el7_9.3 ELSA-2024-3588

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling glibc 2.39-r5 —

Advisories 37

References