# CVE-2021-36085: The CIL compiler in SELinux 3.2 has a use-after-free in cilverifyclassperms (called from verifymappermclassperms and hashtabmap).

- Severity: Low 3.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-01T02:49:22.000Z
- Modified: 2026-10-14T12:17:13.673Z
- Weaknesses: CWE-416
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- selinux_project selinux: 3.2
- fedoraproject fedora: 35

## Every score

- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31124> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-421.yaml> (third-party-advisory)
- <https://github.com/SELinuxProject/selinux/commit/2d35fcc7e9e976a2346b1de20e54f8663e8a6cba> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20250207-0004/>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00021.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-202008.html>

## Sources

- CVE List: [CVE-2021-36085](https://www.cve.org/CVERecord?id=CVE-2021-36085), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-36085](https://nvd.nist.gov/vuln/detail/CVE-2021-36085), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-36085 · Whole record: https://cve.day/CVE-2021-36085.json · Rebuilt by cve.day 2026-11-25T22:58:02.408Z
