Red Hat Security Advisory: expat security update
🔗 CVE IDs covered (4)
📋 Description
CVE-2013-0340 — expat: internal entity expansion CVE-2023-52425 — expat: parsing large tokens can trigger a denial of service CVE-2024-8176 — libexpat: expat: Improper Restriction of XML Entity Expansion Depth in libexpat CVE-2025-59375 — firefox: thunderbird: expat: libexpat in Expat allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing
🎯 Affected products33
- Red Hat Enterprise Linux AppStream E4S (v.9.0)
- Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-0:2.2.10-12.el9_0.4.aarch64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-0:2.2.10-12.el9_0.4.i686 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-0:2.2.10-12.el9_0.4.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-0:2.2.10-12.el9_0.4.s390x as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-0:2.2.10-12.el9_0.4.src as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-0:2.2.10-12.el9_0.4.x86_64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.aarch64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.i686 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.s390x as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debuginfo-0:2.2.10-12.el9_0.4.x86_64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.aarch64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.i686 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.s390x as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-debugsource-0:2.2.10-12.el9_0.4.x86_64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.9.0)
- expat-devel-0:2.2.10-12.el9_0.4.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- expat-devel-0:2.2.10-12.el9_0.4.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- +3 more not shown
✅ 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 Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: To mitigate the issue, limit XML input size and complexity before parsing, and avoid accepting compressed or deeply nested XML. Use OS-level resource controls (like ulimit or setrlimit()) to cap memory usage, or run the parser in a sandboxed or isolated process with strict memory and CPU limits. This helps prevent denial-of-service by containing excessive resource consumption.
🔗 References (7)
- selfhttps://access.redhat.com/errata/RHSA-2025:22035
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1000109
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2262877
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2310137
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2395108
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_22035.json