The CIL compiler in SELinux 3.2 has a heap-based buffer over-read in ebitmap_match_any (called indirectly from cil_check_neverallow). This occurs because there is sometimes a lack of checks for invalid statements in an optional block.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3930-1 libsepol security update
EUVD EUVD EUVD-2021-22720 The CIL compiler in SELinux 3.2 has a heap-based buffer over-read in ebitmap_match_any (called indirectly from cil_check_neverallow). This occurs because there is sometimes a lack of checks for invalid statements in an optional block.
Ubuntu USN Ubuntu USN USN-5391-1 libsepol vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Mon, 03 Nov 2025 21:30:00 +0000

Type Values Removed Values Added
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-03T21:44:57.912Z

Reserved: 2021-07-01T00:00:00.000Z

Link: CVE-2021-36087

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-07-01T03:15:08.817

Modified: 2025-11-03T22:15:49.327

Link: CVE-2021-36087

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-04-19T00:00:00Z

Links: CVE-2021-36087 - Bugzilla

cve-icon OpenCVE Enrichment

No data.