LOW
CVE-2021-36085
CWE-416Published: July 1, 2021· Updated: Jun 17, 2026
3.3
CVSS v3.1
Official 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).
Technical Analysis
CVE-2021-36085 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
From a weakness classification perspective (CWE-416): Use-after-free vulnerabilities involve accessing memory after it has been freed, often enabling arbitrary code execution.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityLow
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Affected Vendors & Products
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (10)
→
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31124Exploit · Issue Tracking · Patch · Third Party Advisory
→
https://github.com/SELinuxProject/selinux/commit/2d35fcc7e9e976a2346b1de20e54f8663e8a6cbaPatch · Third Party Advisory
→
→
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31124Exploit · Issue Tracking · Patch · Third Party Advisory
→
https://github.com/SELinuxProject/selinux/commit/2d35fcc7e9e976a2346b1de20e54f8663e8a6cbaPatch · Third Party Advisory
→
Quick Facts
CVE IDCVE-2021-36085
CVSS Score3.3 / 10
SeverityLOW
WeaknessCWE-416
CISA KEVNo
Affected2 vendor(s)
PublishedJul 1, 2021
Related CVEs (CWE-416)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-36085 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.