Skip to content
OpenAdvisories
High RLSA-2022:0951 12 CVEs

Important: expat security update

Published Mar 16, 2022 · Updated Feb 4, 2026

Summary

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 build_model 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 XML_GetBuffer (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.

Fixed packages 1

ReleasePackageFixed in
Rocky Linux · 8 expat 0:2.2.5-4.el8_5.3

Vulnerabilities 12

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044451
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044455
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044457
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044464
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044467
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044479
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044484
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044488
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2044613
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2056363
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2056366
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2056370