All reports
Medium

libsepol: heap-based buffer overflow in ebitmap_match_any()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-36087

Probability of exploitation in the next 30 days: 0.48%

FIRST EPSS · 2026-11-22

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.