CWE
416
Advisory Published
Advisory Published

RHSA-2022:6878: Important: expat security update

First published: Tue Oct 11 2022(Updated: )

Expat is a C library for parsing XML documents.<br>Security Fix(es):<br><li> expat: a use-after-free in the doContent function in xmlparse.c (CVE-2022-40674)</li> For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Affected SoftwareAffected VersionHow to fix
redhat/expat<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-debuginfo<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-debuginfo<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-debugsource<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-debugsource<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-devel<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-devel<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-debuginfo<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-debugsource<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat-devel<2.2.5-8.el8_6.3
2.2.5-8.el8_6.3
redhat/expat<2.2.5-8.el8_6.3.aa
2.2.5-8.el8_6.3.aa
redhat/expat-debuginfo<2.2.5-8.el8_6.3.aa
2.2.5-8.el8_6.3.aa
redhat/expat-debugsource<2.2.5-8.el8_6.3.aa
2.2.5-8.el8_6.3.aa
redhat/expat-devel<2.2.5-8.el8_6.3.aa
2.2.5-8.el8_6.3.aa

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of RHSA-2022:6878?

    The vulnerability RHSA-2022:6878 has a CVSS score that indicates a critical severity due to a use-after-free condition in the expat library.

  • What does RHSA-2022:6878 impact?

    RHSA-2022:6878 impacts versions of the expat library that are vulnerable to a use-after-free bug in xmlparse.c.

  • How do I fix RHSA-2022:6878?

    To fix RHSA-2022:6878, update expat to version 2.2.5-8.el8_6.3 or later.

  • What is a use-after-free vulnerability in RHSA-2022:6878?

    A use-after-free vulnerability in RHSA-2022:6878 allows an attacker to exploit memory that has been freed, potentially leading to arbitrary code execution.

  • Which packages are affected by RHSA-2022:6878?

    The affected packages include expat, expat-devel, expat-debuginfo, and expat-debugsource in various architectures.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203