CVE-2021-36087

libsepol: heap-based buffer overflow in ebitmap_match_any()

Published Jul 1, 2021 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 11:49 AM
Reserved
Jul 1, 2021, 12:00 AM
Status
Modified
Published
Jul 1, 2021, 3:15 AM
Modified
Oct 14, 2026, 12:17 PM
Severity
Moderate
Public date
Apr 19, 2021, 12:00 AM