Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHSA-2025:22785 - Security Advisory
Issued:
2025-12-04
Updated:
2025-12-04

RHSA-2025:22785 - Security Advisory

  • Overview
  • Updated Packages

Synopsis

Important: expat security update

Type/Severity

Security Advisory: Important

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for expat is now available for Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support and Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On.

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 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

  • Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension 8.4 x86_64
  • Red Hat Enterprise Linux Server - AUS 8.4 x86_64

Fixes

  • BZ - 1000109 - CVE-2013-0340 expat: internal entity expansion
  • BZ - 2044451 - CVE-2021-45960 expat: Large number of prefixed XML attributes on a single tag can crash libexpat
  • BZ - 2044455 - CVE-2021-46143 expat: Integer overflow in doProlog in xmlparse.c
  • BZ - 2044457 - CVE-2022-22822 expat: Integer overflow in addBinding in xmlparse.c
  • BZ - 2044464 - CVE-2022-22823 expat: Integer overflow in build_model in xmlparse.c
  • BZ - 2044467 - CVE-2022-22824 expat: Integer overflow in defineAttribute in xmlparse.c
  • BZ - 2044479 - CVE-2022-22825 expat: Integer overflow in lookup in xmlparse.c
  • BZ - 2044484 - CVE-2022-22826 expat: Integer overflow in nextScaffoldPart in xmlparse.c
  • BZ - 2044488 - CVE-2022-22827 expat: Integer overflow in storeAtts in xmlparse.c
  • BZ - 2048356 - CVE-2022-23990 expat: integer overflow in the doProlog function
  • BZ - 2056350 - CVE-2022-25313 expat: Stack exhaustion in doctype parsing
  • BZ - 2056354 - CVE-2022-25314 expat: Integer overflow in copyString()
  • BZ - 2140059 - CVE-2022-43680 expat: use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate
  • BZ - 2262877 - CVE-2023-52425 expat: parsing large tokens can trigger a denial of service
  • BZ - 2310137 - CVE-2024-8176 libexpat: expat: Improper Restriction of XML Entity Expansion Depth in libexpat
  • BZ - 2395108 - CVE-2025-59375 expat: libexpat in Expat allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing

CVEs

  • CVE-2013-0340
  • CVE-2021-45960
  • CVE-2021-46143
  • CVE-2022-22822
  • CVE-2022-22823
  • CVE-2022-22824
  • CVE-2022-22825
  • CVE-2022-22826
  • CVE-2022-22827
  • CVE-2022-23990
  • CVE-2022-25313
  • CVE-2022-25314
  • CVE-2022-43680
  • CVE-2023-52425
  • CVE-2024-8176
  • CVE-2025-59375

References

  • https://access.redhat.com/security/updates/classification/#important
Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension 8.4

SRPM
expat-2.2.10-1.el8_4.src.rpm SHA-256: d1c757909cc08504935c07f3e2ee847f8f5d63eeb7fdc475cfb9930569a68b11
x86_64
expat-2.2.10-1.el8_4.i686.rpm SHA-256: 2c83ae05cf0d3a9122bb749a2545a07850f2d006fbfaf605ee2bbd2073a0c099
expat-2.2.10-1.el8_4.x86_64.rpm SHA-256: ba8cc97a86f49167f537cb90a28d51b94c8190785811cc6a4e1779a163d4c056
expat-debuginfo-2.2.10-1.el8_4.i686.rpm SHA-256: 70ecdec83e352b35ec5caf436d06e3eabbaa9dcef24a103dd56b910634c4873e
expat-debuginfo-2.2.10-1.el8_4.x86_64.rpm SHA-256: 2162756eaf04580b5b50f4579e6c648ceeacb6539263d43015ba716b2008db04
expat-debugsource-2.2.10-1.el8_4.i686.rpm SHA-256: ab47974b89b13e8a1561d51c368f589db3d6cfed28f7246b6502cd7a9d35e561
expat-debugsource-2.2.10-1.el8_4.x86_64.rpm SHA-256: 5b40d055fa6aa935c0dffa54614a7027f721afb0134ba6d410e44143bb99c57f
expat-devel-2.2.10-1.el8_4.i686.rpm SHA-256: 02c2a0d7667c0450fa976c3c5eb59e2e7f293bff0df6d417319460efd232e393
expat-devel-2.2.10-1.el8_4.x86_64.rpm SHA-256: 4a44ac4def43610b74a61a10e095880ce30ddc3bcda19d6f113e4a1c240de02a

Red Hat Enterprise Linux Server - AUS 8.4

SRPM
expat-2.2.10-1.el8_4.src.rpm SHA-256: d1c757909cc08504935c07f3e2ee847f8f5d63eeb7fdc475cfb9930569a68b11
x86_64
expat-2.2.10-1.el8_4.i686.rpm SHA-256: 2c83ae05cf0d3a9122bb749a2545a07850f2d006fbfaf605ee2bbd2073a0c099
expat-2.2.10-1.el8_4.x86_64.rpm SHA-256: ba8cc97a86f49167f537cb90a28d51b94c8190785811cc6a4e1779a163d4c056
expat-debuginfo-2.2.10-1.el8_4.i686.rpm SHA-256: 70ecdec83e352b35ec5caf436d06e3eabbaa9dcef24a103dd56b910634c4873e
expat-debuginfo-2.2.10-1.el8_4.x86_64.rpm SHA-256: 2162756eaf04580b5b50f4579e6c648ceeacb6539263d43015ba716b2008db04
expat-debugsource-2.2.10-1.el8_4.i686.rpm SHA-256: ab47974b89b13e8a1561d51c368f589db3d6cfed28f7246b6502cd7a9d35e561
expat-debugsource-2.2.10-1.el8_4.x86_64.rpm SHA-256: 5b40d055fa6aa935c0dffa54614a7027f721afb0134ba6d410e44143bb99c57f
expat-devel-2.2.10-1.el8_4.i686.rpm SHA-256: 02c2a0d7667c0450fa976c3c5eb59e2e7f293bff0df6d417319460efd232e393
expat-devel-2.2.10-1.el8_4.x86_64.rpm SHA-256: 4a44ac4def43610b74a61a10e095880ce30ddc3bcda19d6f113e4a1c240de02a

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility