RHSA-2022:0951: Important: expat security update

Published Mar 16, 2022
·
Updated

Expat is a C library for parsing XML documents.Security Fix(es): expat: Malformed 2- and 3-byte UTF-8 sequences can lead to arbitrary code execution (CVE-2022-25235) expat: Namespace-separator characters in "xmlns[:prefix]" attribute values can lead to arbitrary code execution (CVE-2022-25236) expat: Integer overflow in storeRawNames() (CVE-2022-25315) expat: Large number of prefixed XML attributes on a single tag can crash libexpat (CVE-2021-45960) expat: Integer overflow in doProlog in xmlparse.c (CVE-2021-46143) expat: Integer overflow in addBinding in xmlparse.c (CVE-2022-22822) expat: Integer overflow in buildmodel in xmlparse.c (CVE-2022-22823) expat: Integer overflow in defineAttribute in xmlparse.c (CVE-2022-22824) expat: Integer overflow in lookup in xmlparse.c (CVE-2022-22825) expat: Integer overflow in nextScaffoldPart in xmlparse.c (CVE-2022-22826) expat: Integer overflow in storeAtts in xmlparse.c (CVE-2022-22827) expat: Integer overflow in function XMLGetBuffer (CVE-2022-23852) 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

16 affected componentsFixes available
redhat/expat<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-debuginfo<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-debuginfo<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-debugsource<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-debugsource<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-devel<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-devel<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-debuginfo<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-debugsource<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat-devel<2.2.5-4.el8_5.3
2.2.5-4.el8_5.3
redhat/expat<2.2.5-4.el8_5.3.aa
2.2.5-4.el8_5.3.aa
redhat/expat-debuginfo<2.2.5-4.el8_5.3.aa
2.2.5-4.el8_5.3.aa
redhat/expat-debugsource<2.2.5-4.el8_5.3.aa
2.2.5-4.el8_5.3.aa
redhat/expat-devel<2.2.5-4.el8_5.3.aa
2.2.5-4.el8_5.3.aa

Remediation

Event History

Apr 24, 2026
Advisory Published
via Red Hat·09:57 AM
Data Sourced
via Red Hat·09:57 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:0951?

The severity of RHSA-2022:0951 is classified as critical due to the potential for arbitrary code execution.

2

How do I fix RHSA-2022:0951?

To fix RHSA-2022:0951, update the expat package to version 2.2.5-4.el8_5.3 or higher.

3

What vulnerabilities are addressed in RHSA-2022:0951?

RHSA-2022:0951 addresses vulnerabilities that allow arbitrary code execution due to malformed UTF-8 sequences and namespace-separator characters in certain XML attributes.

4

Which versions of expat are affected by RHSA-2022:0951?

Versions of expat prior to 2.2.5-4.el8_5.3 are affected by RHSA-2022:0951.

5

Is there a workaround for RHSA-2022:0951?

There is no known workaround for RHSA-2022:0951; the recommended action is to apply the security update.

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