CVE-2021-36087
publishedlibsepol: heap-based buffer overflow in ebitmap_match_any()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2307 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2SELINUX-NG-2023-001 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libsepol | Advisory build | 2.9-3.el8 | ALSA-2021:4513 |
| Debian | bullseye | libsepol | Advisory build | 3.1-1+deb11u1 | DLA-3930-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX MX50000 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX MX5000RE0 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX14000 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX15000 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX15010 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX15100 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX15110 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX15120 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX15240 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX15360 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | RUGGEDCOM ROX RX50000 to < V2.17.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-017 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 8 | libsepolaarch64 | Advisory build | 0:2.9-3.el8 | ELSA-2021-4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepolaarch64 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-develaarch64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| Ubuntu | bionic | libsepol | Advisory build | 2.7-1ubuntu0.1 | USN-5391-1 |
| Amazon Linux | AL2 | libsepolaarch64 | Listed in advisory | Not stated | ALAS2-2023-2307 |
| Rocky Linux | 8 | libsepolaarch64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| AlmaLinux | 8 | libsepol-devel | Advisory build | 2.9-3.el8 | ALSA-2021:4513 |
| AlmaLinux | 8 | libsepol-static | Advisory build | 2.9-3.el8 | ALSA-2021:4513 |
| Oracle Linux | 8 | libsepolx86_64 | Advisory build | 0:2.9-3.el8 | ELSA-2021-4513 |
| Oracle Linux | 8 | libsepol-develaarch64 | Advisory build | 0:2.9-3.el8 | ELSA-2021-4513 |
| Oracle Linux | 8 | libsepol-develx86_64 | Advisory build | 0:2.9-3.el8 | ELSA-2021-4513 |
| Oracle Linux | 8 | libsepol-staticaarch64 | Advisory build | 0:2.9-3.el8 | ELSA-2021-4513 |
| Oracle Linux | 8 | libsepol-staticx86_64 | Advisory build | 0:2.9-3.el8 | ELSA-2021-4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepoli686 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepolppc64le | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepols390x | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepolsrc | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepolx86_64 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debuginfoaarch64 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debuginfoi686 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debuginfoppc64le | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debuginfos390x | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debuginfox86_64 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debugsourceaarch64 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debugsourcei686 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debugsourceppc64le | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debugsources390x | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-debugsourcex86_64 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-develaarch64 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-develi686 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-develppc64le | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-devels390x | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| Red Hat Enterprise Linux | RHEL-8 | libsepol-develx86_64 | Advisory build | 2.9-3.el8 | RHSA-2021:4513 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-develppc64le | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-devels390x | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-develx86_64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-devel-staticaarch64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-devel-staticppc64le | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-devel-statics390x | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-devel-staticx86_64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-utilsaarch64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-utilsppc64le | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-utilss390x | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol-utilsx86_64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol2aarch64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol2ppc64le | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol2s390x | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol2x86_64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol2-32bitaarch64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol2-32bitppc64le | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol2-32bits390x | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsepol2-32bitx86_64 | Advisory build | 3.2-3.2 | OPENSUSE-SU-2024:10990-1 |
| Ubuntu | bionic | libsepol1 | Advisory build | 2.7-1ubuntu0.1 | USN-5391-1 |
| Ubuntu | bionic | sepol-utils | Advisory build | 2.7-1ubuntu0.1 | USN-5391-1 |
| Ubuntu | focal | libsepol | Advisory build | 3.0-1ubuntu0.1 | USN-5391-1 |
| Ubuntu | focal | libsepol1 | Advisory build | 3.0-1ubuntu0.1 | USN-5391-1 |
| Ubuntu | focal | sepol-utils | Advisory build | 3.0-1ubuntu0.1 | USN-5391-1 |
| Ubuntu | xenial | libsepol | Advisory build | 2.4-2ubuntu0.1~esm1 | USN-5391-1 |
| Ubuntu | xenial | libsepol1 | Advisory build | 2.4-2ubuntu0.1~esm1 | USN-5391-1 |
| Ubuntu | xenial | sepol-utils | Advisory build | 2.4-2ubuntu0.1~esm1 | USN-5391-1 |
| Amazon Linux | AL2 | libsepolaarch64 | Listed in advisory | Not stated | ALAS2SELINUX-NG-2023-001 |
| Amazon Linux | AL2 | libsepoli686 | Listed in advisory | Not stated | ALAS2-2023-2307 |
| Amazon Linux | AL2 | libsepoli686 | Listed in advisory | Not stated | ALAS2SELINUX-NG-2023-001 |
| Amazon Linux | AL2 | libsepolsrc | Listed in advisory | Not stated | ALAS2-2023-2307 |
| Amazon Linux | AL2 | libsepolsrc | Listed in advisory | Not stated | ALAS2SELINUX-NG-2023-001 |
| Amazon Linux | AL2 | libsepolx86_64 | Listed in advisory | Not stated | ALAS2-2023-2307 |
| Amazon Linux | AL2 | libsepolx86_64 | Listed in advisory | Not stated | ALAS2SELINUX-NG-2023-001 |
| Amazon Linux | AL2023 | libsepolaarch64 | Listed in advisory | Not stated | ALAS2023-2023-017 |
| Amazon Linux | AL2023 | libsepolsrc | Listed in advisory | Not stated | ALAS2023-2023-017 |
| Amazon Linux | AL2023 | libsepolx86_64 | Listed in advisory | Not stated | ALAS2023-2023-017 |
| Rocky Linux | 8 | libsepoli686 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepolsrc | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepolx86_64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-debuginfoi686 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-debugsourcei686 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-develaarch64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-develi686 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-develx86_64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-staticaarch64 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-statici686 | Listed in advisory | Not stated | RLSA-2021:4513 |
| Rocky Linux | 8 | libsepol-staticx86_64 | Listed in advisory | Not stated | RLSA-2021:4513 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX MX5000 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX MX5000RE | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX1400 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX1500 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX1501 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX1510 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX1511 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX1512 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX1524 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX1536 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | RUGGEDCOM ROX RX5000 | 0 to < V2.17.0 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- n/a
References
9- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675
- https://cert-portal.siemens.com/productcert/html/ssa-202008.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml
- https://lists.debian.org/debian-lts-announce/2024/10/msg00021.html
- FEDORA-2021-67efe88c29 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/
- https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ%40mail.gmail.com/T/
- https://security.netapp.com/advisory/ntap-20250207-0004/
Provider assertions
3mitre · cna
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0feeee9a4fab611cf5a3602bd7a9902b8c9dc5f6c18e48fb97e1dcecebca0ca6
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record