QID 239808

Date Published: 2021-11-10

QID 239808: Red Hat Update for libsepol (RHSA-2021:4513)

the libsepol library provides an api for the manipulation of selinux binary policies.
It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies (for example, customizing policy boolean settings).

Security Fix(es):
  • libsepol: use-after-free in __cil_verify_classperms() (cve-2021-36084)
  • libsepol: use-after-free in __cil_verify_classperms() (cve-2021-36085)
  • libsepol: use-after-free in cil_reset_classpermission() (cve-2021-36086)
  • libsepol: heap-based buffer overflow in ebitmap_match_any() (cve-2021-36087)

Affected Products:

  • Red Hat enterprise linux for x86_64 8 x86_64
  • Red Hat enterprise linux for ibm z systems 8 s390x
  • Red Hat enterprise linux for power, little endian 8 ppc64le
  • Red Hat enterprise linux for arm 64 8 aarch64
  • Red Hat codeready linux builder for x86_64 8 x86_64
  • Red Hat codeready linux builder for power, little endian 8 ppc64le
  • Red Hat codeready linux builder for arm 64 8 aarch64
  • Red Hat codeready linux builder for ibm z systems 8 s390x



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

On successful exploitation, it could allow an attacker to execute code.

  • CVSS V3 rated as Medium - 3.3 severity.
  • CVSS V2 rated as Low - 2.1 severity.
  • Solution
    Upgrade to the latest packages which contain a patch.

    Refer to Refer to :
    Applying Package Updates to RHEL system
    for details.

    Refer to Red Hat security advisory RHSA-2021:4513 Update to address this issue and obtain more information.

    Vendor References

    CVEs related to QID 239808

    Software Advisories
    Advisory ID Software Component Link
    RHSA-2021:4513 Red Hat Enterprise Linux URL Logo access.redhat.com/errata/RHSA-2021:4513
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report