{"id":"UBUNTU-CVE-2021-36084","details":"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).","modified":"2026-04-22T14:50:24.392808Z","published":"2021-07-01T03:15:00Z","related":["USN-5391-1"],"upstream":["CVE-2021-36084"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-36084"},{"type":"REPORT","url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-417.yaml"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5391-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-36084"}],"affected":[{"package":{"name":"libsepol","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libsepol@2.4-2ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4-2ubuntu0.1~esm1"}]}],"versions":["2.3-2","2.4-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.4-2ubuntu0.1~esm1","binary_name":"libsepol1"},{"binary_version":"2.4-2ubuntu0.1~esm1","binary_name":"sepol-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36084.json"}},{"package":{"name":"libsepol","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libsepol@2.7-1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-1ubuntu0.1"}]}],"versions":["2.7-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.7-1ubuntu0.1","binary_name":"libsepol1"},{"binary_version":"2.7-1ubuntu0.1","binary_name":"sepol-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36084.json"}},{"package":{"name":"libsepol","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libsepol@3.0-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0-1ubuntu0.1"}]}],"versions":["2.9-2","3.0-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.0-1ubuntu0.1","binary_name":"libsepol1"},{"binary_version":"3.0-1ubuntu0.1","binary_name":"sepol-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36084.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]}