RHSA-2022:0951HighCVSS 9.8

Red Hat Security Advisory: expat security update

Published
March 16, 2022
Last Modified
August 6, 2026

🔗 CVE IDs covered (12)

📋 Description

CVE-2021-45960 — expat: Large number of prefixed XML attributes on a single tag can crash libexpat CVE-2021-46143 — expat: Integer overflow in doProlog in xmlparse.c CVE-2022-22822 — expat: Integer overflow in addBinding in xmlparse.c CVE-2022-22823 — expat: Integer overflow in build_model in xmlparse.c CVE-2022-22824 — expat: Integer overflow in defineAttribute in xmlparse.c CVE-2022-22825 — expat: Integer overflow in lookup in xmlparse.c CVE-2022-22826 — expat: Integer overflow in nextScaffoldPart in xmlparse.c CVE-2022-22827 — expat: Integer overflow in storeAtts in xmlparse.c CVE-2022-23852 — expat: Integer overflow in function XML_GetBuffer CVE-2022-25235 — expat: Malformed 2- and 3-byte UTF-8 sequences can lead to arbitrary code execution CVE-2022-25236 — expat: Namespace-separator characters in "xmlns[:prefix]" attribute values can lead to arbitrary code execution CVE-2022-25315 — expat: Integer overflow in storeRawNames()

🎯 Affected products22

  • Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-0:2.2.5-4.el8_5.3.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-0:2.2.5-4.el8_5.3.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-0:2.2.5-4.el8_5.3.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-0:2.2.5-4.el8_5.3.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-0:2.2.5-4.el8_5.3.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-0:2.2.5-4.el8_5.3.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debuginfo-0:2.2.5-4.el8_5.3.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debuginfo-0:2.2.5-4.el8_5.3.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debuginfo-0:2.2.5-4.el8_5.3.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debuginfo-0:2.2.5-4.el8_5.3.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debuginfo-0:2.2.5-4.el8_5.3.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debugsource-0:2.2.5-4.el8_5.3.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debugsource-0:2.2.5-4.el8_5.3.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debugsource-0:2.2.5-4.el8_5.3.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debugsource-0:2.2.5-4.el8_5.3.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-debugsource-0:2.2.5-4.el8_5.3.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-devel-0:2.2.5-4.el8_5.3.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-devel-0:2.2.5-4.el8_5.3.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-devel-0:2.2.5-4.el8_5.3.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-devel-0:2.2.5-4.el8_5.3.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • expat-devel-0:2.2.5-4.el8_5.3.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, applications using the Expat library must be restarted for the update to take effect. Workaround: There is no known mitigation other than restricting applications using the expat library from processing untrusted XML content. Please update the affected packages as soon as possible.

🔗 References (15)