# CVE-2021-36085

- Priority: **Routine**
- Reason: Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-07-01 · Modified: 2026-10-14
- Aliases: UBUNTU-CVE-2021-36085, DEBIAN-CVE-2021-36085
- Record: https://cvemate.com/vulnerability/CVE-2021-36085 · JSON: https://cvemate.com/vulnerability/CVE-2021-36085/json

## Description

```text
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).
```

## Signals

- CVSS: 3.3 low (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.453%, percentile 41.063%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian libsepol (Debian): \< 3.3-1
- ubuntu libsepol (Ubuntu): \< 2.4-2ubuntu0.1~esm1 \| \< 2.7-1ubuntu0.1 \| \< 3.0-1ubuntu0.1
- fedoraproject fedora: 35
- selinux\_project selinux: 3.2

## 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/>
- <https://security.netapp.com/advisory/ntap-20250207-0004/>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00021.html>
- <https://ubuntu.com/security/CVE-2021-36085>
- <https://ubuntu.com/security/notices/USN-5391-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-36085>
- <https://security-tracker.debian.org/tracker/CVE-2021-36085>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-202008.html>

---

Data as of 2026-12-05T13:05:48.740Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
