---
id: CVE-2021-36084
title: >-
  The CIL compiler in SELinux 3.2 has a use-after-free in
  __cil_verify_classperms (called from __cil_verify_classpermission and
  __cil_pre_verify_helper).
summary: >-
  The CIL compiler in SELinux 3.2 has a use-after-free in
  __cil_verify_classperms (called from __cil_verify_classpermission and
  __cil_pre_verify_helper).
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-416
vendor: selinux_project
product: selinux
affected:
  - selinux = 3.2
  - fedora = 35
published: '2021-07-01'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T12:17:13.447'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-36084'
references:
  - url: 'https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31065'
    label: cve@mitre.org
  - url: >-
      https://github.com/SELinuxProject/selinux/commit/f34d3d30c8325e4847a6b696fe7a3936a8a361f3
    label: cve@mitre.org
  - url: >-
      https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-417.yaml
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/
    label: cve@mitre.org
  - url: 'https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31065'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/SELinuxProject/selinux/commit/f34d3d30c8325e4847a6b696fe7a3936a8a361f3
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-417.yaml
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/10/msg00021.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20250207-0004/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-202008.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.00485
epssPercentile: 0.4003
ingestedAt: '2026-10-14T12:29:10.820Z'
---

## Overview

The CIL compiler in SELinux 3.2 has a use-after-free in __cil_verify_classperms (called from __cil_verify_classpermission and __cil_pre_verify_helper).

## Affected

- `selinux = 3.2`
- `fedora = 35`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
