CVE-2026-104112
Missing release of passed file descriptors in illumos nscd allows local users to exhaust kernel memory
Check your servers for CVE-2026-104112
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-104112 affects sunwcs, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A missing release of resources in the illumos name service cache daemon (nscd) allows a local user to exhaust kernel memory. The nscd door server procedure, switcher() in usr/src/cmd/nscd/nscd_frontend.c, does not close file descriptors that are passed with a door call but not used by the request, and the main nscd door at /var/run/name_service_door accepts passed descriptors from any user in its zone. Because nscd also runs with an unlimited file descriptor limit, an unprivileged local user, including one in a non-global zone, can repeatedly pass a descriptor to its zone's nscd in a door_call() loop, causing the file descriptor table of nscd to grow without bound in kernel memory. This causes a denial of service of nscd and can render processes in all zones on the host unresponsive. The flaw has existed since 2006 (illumos-gate commit cb5caa98), and affects any illumos distribution prior to illumos-gate commit af810a72.
Severity (CVSS)
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:P
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.77% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 9 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-772 Missing Release of Resource after Effective Lifetime
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
illumos-gate
package
SUNWcs |
affected from cb5caa98562cf06753163f558cbcfe30b8f4673a, before af810a72c09944e884ec695e8dbf1702a4f424ae (unaffected from af810a72c09944e884ec695e8dbf1702a4f424ae)
Other versions: unaffected
|
| OmniOS |
affected from any, before r151054 affected from r151058, before r151058w (unaffected from r151058w) affected from r151056, before r151056aw (unaffected from r151056aw) affected from r151054, before r151054bw (unaffected from r151054bw)
Other versions: affected
|
Is my server affected?
Find the installed version of sunwcs and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i sunwcs
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-104112 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-104112RHEL, Rocky, Alma, Fedora
rpm -q sunwcs
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-104112Alpine
apk list --installed | grep -i sunwcsWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-104112
trivy image --scanners vuln IMAGE | grep CVE-2026-104112
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- https://github.com/illumos/illumos-gate/commit/af810a72c09944e884ec695e8dbf1702a4f424ae github.com · patch
Other references
- https://illumos.topicbox.com/groups/developer/T3b859664594b7762/cve-2026-104112-to-cve-2026-104117-denial-of-service-and-missing-authorization-in-door-servers illumos.topicbox.com · mailing list
- https://illumos.org/issues/18494 illumos.org · issue tracking
Source: the record CVE-2026-104112 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse