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

Important: expat security update

Published Mar 16, 2022 · Updated Oct 29, 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 2

ReleasePackageFixed in
AlmaLinux · 8 expat 2.2.5-8.el8_6.2
AlmaLinux · 8 expat-devel 2.2.5-8.el8_6.2

Vulnerabilities 12

References

  • report
    https://access.redhat.com/security/cve/CVE-2021-45960
  • report
    https://access.redhat.com/security/cve/CVE-2021-46143
  • report
    https://access.redhat.com/security/cve/CVE-2022-22822
  • report
    https://access.redhat.com/security/cve/CVE-2022-22823
  • report
    https://access.redhat.com/security/cve/CVE-2022-22824
  • report
    https://access.redhat.com/security/cve/CVE-2022-22825
  • report
    https://access.redhat.com/security/cve/CVE-2022-22826
  • report
    https://access.redhat.com/security/cve/CVE-2022-22827
  • report
    https://access.redhat.com/security/cve/CVE-2022-23852
  • report
    https://access.redhat.com/security/cve/CVE-2022-25235
  • report
    https://access.redhat.com/security/cve/CVE-2022-25236
  • report
    https://access.redhat.com/security/cve/CVE-2022-25315
  • report
    https://bugzilla.redhat.com/2044451
  • report
    https://bugzilla.redhat.com/2044455
  • report
    https://bugzilla.redhat.com/2044457
  • report
    https://bugzilla.redhat.com/2044464
  • report
    https://bugzilla.redhat.com/2044467
  • report
    https://bugzilla.redhat.com/2044479
  • report
    https://bugzilla.redhat.com/2044484
  • report
    https://bugzilla.redhat.com/2044488
  • report
    https://bugzilla.redhat.com/2044613
  • report
    https://bugzilla.redhat.com/2056363
  • report
    https://bugzilla.redhat.com/2056366
  • report
    https://bugzilla.redhat.com/2056370
  • advisory
    https://errata.almalinux.org/8/ALSA-2022-0951.html