Issued:
2025-12-08
Updated:
2025-12-08

RHSA-2025:22871 - Important: expat security update


Synopsis

Important: expat security update

Type/Severity

Security Advisory Important

Topic

An update for expat is now available for Red Hat Enterprise Linux 8.2 Advanced Update Support.

Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

Expat is a C library for parsing XML documents.

Security Fix(es):

  • expat: internal entity expansion (CVE-2013-0340)

  • expat: large number of colons in input makes parser consume high amount of resources, leading to DoS (CVE-2018-20843)

  • expat: heap-based buffer over-read via crafted XML input (CVE-2019-15903)

  • 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 the doProlog function (CVE-2022-23990)

  • expat: Stack exhaustion in doctype parsing (CVE-2022-25313)

  • expat: Integer overflow in copyString() (CVE-2022-25314)

  • expat: use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate (CVE-2022-43680)

  • expat: parsing large tokens can trigger a denial of service (CVE-2023-52425)

  • libexpat: expat: Improper Restriction of XML Entity Expansion Depth in libexpat (CVE-2024-8176)

  • expat: libexpat in Expat allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing (CVE-2025-59375)

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.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux Server - AUS8.2x86_64

Updated Packages

  • expat-debugsource-2.2.10-1.el8_2.i686.rpm
  • expat-2.2.10-1.el8_2.x86_64.rpm
  • expat-2.2.10-1.el8_2.src.rpm
  • expat-devel-2.2.10-1.el8_2.i686.rpm
  • expat-2.2.10-1.el8_2.i686.rpm
  • expat-debuginfo-2.2.10-1.el8_2.i686.rpm
  • expat-debuginfo-2.2.10-1.el8_2.x86_64.rpm
  • expat-devel-2.2.10-1.el8_2.x86_64.rpm
  • expat-debugsource-2.2.10-1.el8_2.x86_64.rpm

Fixes

CVEs

References


Additional information