RHSA-2022:6833: Important: expat security update

Published Oct 6, 2022
·
Updated

Expat is a C library for parsing XML documents.Security Fix(es): expat: a use-after-free in the doContent function in xmlparse.c (CVE-2022-40674) 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 Software

12 affected componentsFixes available
redhat/expat<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-debuginfo<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-debugsource<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-devel<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-debuginfo<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-debuginfo<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-debugsource<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-debugsource<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-devel<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2
redhat/expat-devel<2.2.5-3.el8_1.2
2.2.5-3.el8_1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/expat to a version that resolves this vulnerability.

    Fixed in 2.2.5-3.el8_1.2
  2. Upgrade

    Upgrade redhat/expat-debuginfo to a version that resolves this vulnerability.

    Fixed in 2.2.5-3.el8_1.2
  3. Upgrade

    Upgrade redhat/expat-debugsource to a version that resolves this vulnerability.

    Fixed in 2.2.5-3.el8_1.2
  4. Upgrade

    Upgrade redhat/expat-devel to a version that resolves this vulnerability.

    Fixed in 2.2.5-3.el8_1.2
  5. Upgrade

    Upgrade expat to a version that resolves this vulnerability.

    Fixed in 2.2.5-3.el8_1.2
  6. Upgrade

    Upgrade expat-devel to a version that resolves this vulnerability.

    Fixed in 2.2.5-3.el8_1.2
  7. Upgrade

    Upgrade expat-debuginfo to a version that resolves this vulnerability.

    Fixed in 2.2.5-3.el8_1.2
  8. Upgrade

    Upgrade expat-debugsource to a version that resolves this vulnerability.

    Fixed in 2.2.5-3.el8_1.2

Event History

Jul 28, 2026
Advisory Published
via Red Hat·01:29 AM
Data Sourced
via Red Hat·01:29 AM
RemedyDescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of RHSA-2022:6833?

The severity of RHSA-2022:6833 is classified as important.

2

How do I fix RHSA-2022:6833?

To fix RHSA-2022:6833, update the expat package to version 2.2.5-3.el8_1.2 or later.

3

What is CVE-2022-40674 related to RHSA-2022:6833?

CVE-2022-40674 refers to a use-after-free vulnerability in the doContent function in xmlparse.c of the expat library.

4

Which systems are affected by RHSA-2022:6833?

RHSA-2022:6833 affects systems running certain versions of the expat package across multiple architectures including x86_64 and ppc64le.

5

What components are impacted by RHSA-2022:6833?

The components impacted by RHSA-2022:6833 include expat, expat-debuginfo, expat-debugsource, and expat-devel.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203