Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-89092 EUVD-2026-75897GHSA-gwqp-9qgw-c5pv

Stack overflow in nscd due to unbounded alloca use

Published Sep 11, 2026 · Updated Sep 11, 2026 · Assigned by glibc

Vendor: The GNU C Library Product: glibc Package: eglibc Package: glibc Package: glibc Package: glibc Package: glibc-2.43 Package: glibc-2.43-abi-report Package: glibc-2.43-dev Package: glibc-2.43-iconv Package: glibc-2.43-locale-ca Package: glibc-2.43-locale-de Package: glibc-2.43-locale-en Package: glibc-2.43-locale-es Package: glibc-2.43-locale-extra Package: glibc-2.43-locale-fr Package: glibc-2.43-locale-posix Package: glibc-2.43-locales Package: glibc-2.43-testresults Package: glibc-2.43-tracing Package: glibc-2.44 Package: glibc-2.44-abi-report Package: glibc-2.44-dev Package: glibc-2.44-iconv Package: glibc-2.44-locale-ca Package: glibc-2.44-locale-de Package: glibc-2.44-locale-en Package: glibc-2.44-locale-es Package: glibc-2.44-locale-extra Package: glibc-2.44-locale-fr Package: glibc-2.44-locale-posix Package: glibc-2.44-locales Package: glibc-2.44-testresults Package: glibc-2.44-tracing Package: ld-linux-2.43 Package: ld-linux-2.44 Package: libc-bin-2.43 Package: libc-bin-2.44 Package: libcrypt1-2.43 Package: libcrypt1-2.44 Package: localedef-2.43 Package: localedef-2.44 Package: nscd-2.43 Package: nscd-2.44 Package: nss-db-2.43 Package: nss-db-2.44 Package: nss-hesiod-2.43 Package: nss-hesiod-2.44 Package: pcprofiledump-2.43 Package: pcprofiledump-2.44 Package: posix-libc-utils-2.43 Package: posix-libc-utils-2.44 Package: posix-libc-utils-bin-2.43 Package: posix-libc-utils-bin-2.44 Package: sln-2.43 Package: sln-2.44 Package: sotruss-2.43 Package: sotruss-2.44 Package: tzutils-2.43 Package: tzutils-2.44 Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu Ecosystem: Wolfi

Description

The nscd service in the GNU C Library 2.3.4 onwards may crash due to a
stack overflow when a malicious DNS server returns too large a response
for a DNS query, resulting in degraded DNS resolution for the system.

Exploitation of this bug needs a system that has nscd enabled and using
an untrusted DNS server for name resolution, with the compromised DNS
server being capable of processing records large enough to result in a
stack overflow in an nscd thread stack.  During experimentation, bind 9
was unable to handle large records, but that could change in future or
with a different name server.  In typical installations, nscd is
executed in an isolated context as its own user without a shell, due to
which any compromise of that service is isolated.

There is a remote possibility of nscd cache corruption if an attacker
manages to get the stack pointer into a desired point in the heap,
potentially resulting in other caches in nscd being overwritten with
corrupt data through the stack overflow, until the buggy code path
eventually results in a crash.

Finally, a crash in nscd may result in performance degradation when
resolving names, but it does not result in a denial of service.

Affected products

VendorProductAffectedFixed
The GNU C Library glibc 2.3.4 – < 2.45 2.45

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.43-7 —
Debian 13 glibc No fix yet —
Debian 12 glibc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glibc No fix yet —
Ubuntu Pro 18.04 LTS glibc No fix yet —
Ubuntu Pro 16.04 LTS glibc No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS eglibc No fix yet —

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nscd +172 2.34-284.el9_8.4 ALSA-2026:95618
AlmaLinux 8 nscd +213 2.28-251.el8_10.53 ALSA-2026:96087

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 glibc 2.34-284.el9_8.4 RLSA-2026:95618
Rocky Linux 8 glibc 2.28-251.el8_10.53 RLSA-2026:96087
ReleasePackageFixed inAdvisory
SLES 15 SP7 glibc 2.38-150600.14.61.1 SUSE-SU-2026:4656-1
SLES 15 SP6 glibc 2.38-150600.14.61.1 SUSE-SU-2026:4656-1
SLES 15 SP5 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLES 15 SP4 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLES 12 SP5 glibc 2.22-114.55.1 SUSE-SU-2026:4654-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 glibc 2.38-150600.14.61.1 SUSE-SU-2026:4656-1
SLES for SAP 15 SP5 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLES for SAP 15 SP4 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE Micro 6.1 glibc 2.38-slfo.1.1_11.1 SUSE-SU-2026:24281-1
SLE Micro 6.0 glibc 2.38-159998.1.1 SUSE-SU-2026:24326-1
SLE Micro 5.5 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE Micro 5.4 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE Micro 5.3 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE HPC 15 SP5 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE HPC 15 SP4 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nscd +214 2.34-284.0.1.el9_8.4 ELSA-2026-95618
Oracle Linux 8 nscd +213 2.28-251.0.5.el8_10.53 ELSA-2026-96087

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling sln-2.43 +26 2.43-r18 —
Wolfi rolling sln-2.44 +26 2.44-r8 —

Advisories 12

References