# CVE-2026-23405: apparmor: fix: limit the number of levels of policy namespaces

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-04-01T08:36:35.697Z
- **Modified:** 2026-06-17T10:21:31.077Z

## Who should check

- Anyone running Linux \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 6b396cc2f0365e684fc1d3547d18ef79fcee225d; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 87d0cecc900e55d55fc4dbfb43ac93e269c7a5b3; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< b1226e37eb3754d389721c135db6107db94c7a72; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 853ce31ca72097d23991a06876a2ccb5cb64b603; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< d42b2b6bb77ca40ee34ab74ad79305840b5f315d; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 7b6495ead2c611647f6b11441a852324e3eb8616; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 306039414932c80f8420695a24d4fe10c84ccfb2
- Anyone running Linux 2.6.36

## Description

In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix: limit the number of levels of policy namespaces

Currently the number of policy namespaces is not bounded relying on
the user namespace limit. However policy namespaces aren't strictly
tied to user namespaces and it is possible to create them and nest
them arbitrarily deep which can be used to exhaust system resource.

Hard cap policy namespaces to the same depth as user namespaces.

## Affected and fixed versions

- Linux: \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 6b396cc2f0365e684fc1d3547d18ef79fcee225d; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 87d0cecc900e55d55fc4dbfb43ac93e269c7a5b3; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< b1226e37eb3754d389721c135db6107db94c7a72; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 853ce31ca72097d23991a06876a2ccb5cb64b603; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< d42b2b6bb77ca40ee34ab74ad79305840b5f315d; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 7b6495ead2c611647f6b11441a852324e3eb8616; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 306039414932c80f8420695a24d4fe10c84ccfb2 (cvelist)
- Linux: 2.6.36 (cvelist)

## Mitigation

- Upgrade Linux to 306039414932c80f8420695a24d4fe10c84ccfb2 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23405.md
Affected: Linux >= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < 6b396cc2f0365e684fc1d3547d18ef79fcee225d; >= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < 87d0cecc900e55d55fc4dbfb43ac93e269c7a5b3; >= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < b1226e37eb3754d389721c135db6107db94c7a72; >= c88d4c7b049e87998ac0a9f…
Fixed in: Linux 6b396cc2f0365e684fc1d3547d18ef79fcee225d, Linux 87d0cecc900e55d55fc4dbfb43ac93e269c7a5b3, Linux 3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e, Linux 853ce31ca72097d23991a06876a2ccb5cb64b603, Linux 7b6495ead2c611647f6b11441a852324e3eb8616, Linux 306039414932c80f8420695a24d4fe10c84ccfb2

Steps:
1. Search this machine and project for Linux: 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-23405 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 6b396cc2f0365e684fc1d3547d18ef79fcee225d; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 87d0cecc900e55d55fc4dbfb43ac93e269c7a5b3; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< b1226e37eb3754d389721c135db6107db94c7a72; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 853ce31ca72097d23991a06876a2ccb5cb64b603; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< d42b2b6bb77ca40ee34ab74ad79305840b5f315d; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 7b6495ead2c611647f6b11441a852324e3eb8616; \>= c88d4c7b049e87998ac0a9f455aa545cc895ef92, \< 306039414932c80f8420695a24d4fe10c84ccfb2; Linux 2.6.36.

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

Yes. Fixed in Linux 6b396cc2f0365e684fc1d3547d18ef79fcee225d, Linux 87d0cecc900e55d55fc4dbfb43ac93e269c7a5b3, Linux 3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e, Linux 853ce31ca72097d23991a06876a2ccb5cb64b603, Linux 7b6495ead2c611647f6b11441a852324e3eb8616, Linux 306039414932c80f8420695a24d4fe10c84ccfb2. Upgrade Linux to 306039414932c80f8420695a24d4fe10c84ccfb2 or later.

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

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://git.kernel.org/stable/c/6b396cc2f0365e684fc1d3547d18ef79fcee225d>
- patch: <https://git.kernel.org/stable/c/87d0cecc900e55d55fc4dbfb43ac93e269c7a5b3>
- patch: <https://git.kernel.org/stable/c/b1226e37eb3754d389721c135db6107db94c7a72>
- patch: <https://git.kernel.org/stable/c/3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e>
- patch: <https://git.kernel.org/stable/c/853ce31ca72097d23991a06876a2ccb5cb64b603>
- patch: <https://git.kernel.org/stable/c/d42b2b6bb77ca40ee34ab74ad79305840b5f315d>
- patch: <https://git.kernel.org/stable/c/7b6495ead2c611647f6b11441a852324e3eb8616>
- patch: <https://git.kernel.org/stable/c/306039414932c80f8420695a24d4fe10c84ccfb2>

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

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