# CVE-2026-104112: Missing release of passed file descriptors in illumos nscd allows local users to exhaust kernel memory

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: High; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-28)
- **CWE:** CWE-772
- **Published:** 2026-10-09T14:19:29.399Z
- **Modified:** 2026-10-09T17:16:44.340Z

## Who should check

- Anyone running illumos-gate \>= cb5caa98562cf06753163f558cbcfe30b8f4673a, \< af810a72c09944e884ec695e8dbf1702a4f424ae
- Anyone running OmniOS \>= any, \< r151054; \>= r151058, \< r151058w; \>= r151056, \< r151056aw; \>= r151054, \< r151054bw

## 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.

## Affected and fixed versions

- illumos-gate: \>= cb5caa98562cf06753163f558cbcfe30b8f4673a, \< af810a72c09944e884ec695e8dbf1702a4f424ae (cvelist)
- OmniOS: \>= any, \< r151054; \>= r151058, \< r151058w; \>= r151056, \< r151056aw; \>= r151054, \< r151054bw (cvelist)

## Mitigation

- Vendor workaround: One can mitigate by disabling the name-service-cache SMF service in every affected zone, but once upgraded that service should be re-enabled.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-104112. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104112.md
Affected: illumos-gate >= cb5caa98562cf06753163f558cbcfe30b8f4673a, < af810a72c09944e884ec695e8dbf1702a4f424ae; OmniOS >= any, < r151054; >= r151058, < r151058w; >= r151056, < r151056aw; >= r151054, < r151054bw
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for illumos-gate, OmniOS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-104112 being exploited?

There is no confirmed exploitation: CVE-2026-104112 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-104112?

Medium: CVSS 6.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-104112?

illumos-gate \>= cb5caa98562cf06753163f558cbcfe30b8f4673a, \< af810a72c09944e884ec695e8dbf1702a4f424ae; OmniOS \>= any, \< r151054; \>= r151058, \< r151058w; \>= r151056, \< r151056aw; \>= r151054, \< r151054bw.

### Is there a fix for CVE-2026-104112?

No fixed version is listed in the sources yet. Vendor workaround: One can mitigate by disabling the name-service-cache SMF service in every affected zone, but once upgraded that service should be re-enabled.

### How do I check if I'm affected by CVE-2026-104112?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/illumos/illumos-gate/commit/af810a72c09944e884ec695e8dbf1702a4f424ae>
- other: <https://illumos.topicbox.com/groups/developer/T3b859664594b7762/cve-2026-104112-to-cve-2026-104117-denial-of-service-and-missing-authorization-in-door-servers>
- other: <https://illumos.org/issues/18494>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-104112>

HTML: <https://flawdb.com/CVE-2026-104112> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-104112>
