{"id":"UBUNTU-CVE-2021-36085","details":"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).","modified":"2026-04-22T12:57:23.905144Z","published":"2021-07-01T03:15:00Z","related":["USN-5391-1"],"upstream":["CVE-2021-36085"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-36085"},{"type":"REPORT","url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-421.yaml"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5391-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-36085"}],"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_name":"libsepol1","binary_version":"2.4-2ubuntu0.1~esm1"},{"binary_name":"sepol-utils","binary_version":"2.4-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36085.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_name":"libsepol1","binary_version":"2.7-1ubuntu0.1"},{"binary_name":"sepol-utils","binary_version":"2.7-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36085.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":{"binaries":[{"binary_name":"libsepol1","binary_version":"3.0-1ubuntu0.1"},{"binary_name":"sepol-utils","binary_version":"3.0-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36085.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]}