CVE-2025-59375
Public on
Last Modified:
Description
A memory amplification vulnerability in libexpat allows attackers to trigger excessive dynamic memory allocations by submitting specially crafted XML input. A small input (~250 KiB) can cause the parser to allocate hundreds of megabytes, leading to denial-of-service (DoS) through memory exhaustion.
Statement
This issue is Important rather than Critical because, while it allows for significant resource exhaustion leading to denial-of-service (DoS), it does not enable arbitrary code execution, data leakage, or privilege escalation. The vulnerability stems from an uncontrolled memory amplification behavior in libexpat’s parser, where a relatively small XML payload can cause disproportionately large heap allocations. However, the flaw is limited in scope to service disruption and requires the attacker to submit a crafted XML document—something that can be mitigated with proper input validation and memory usage limits. Therefore, while the exploitability is high, the impact is confined to availability, not confidentiality or integrity, making it a high-severity but not critical flaw.
In Firefox and Thunderbird, where libexpat is a transitive userspace dependency, exploitation usually just crashes the application (app-level DoS), so it is classified as Moderate instead of Important.
Mitigation
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.
Additional Information
- This content is not included.Bugzilla 2395108: firefox: thunderbird: expat: libexpat in Expat allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing
- Content from cwe.mitre.org is not included.CWE-770: Allocation of Resources Without Limits or Throttling
- FAQ: Frequently asked questions about CVE-2025-59375
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2025-59375
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2025-59375
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-data-index-ephemeral-rhel8 | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-data-index-postgresql-rhel8 | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-db-migrator-tool-rhel8 | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-jobs-service-ephemeral-rhel8 | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-jobs-service-postgresql-rhel8 | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8 | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-management-console-rhel8 | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-operator-bundle | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-rhel8-operator | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-swf-builder-rhel8 | Fixed | RHSA-2026:0934 |
| RHOSS-1.36-RHEL-8 | openshift-serverless-1/logic-swf-devmode-rhel8 | Fixed | RHSA-2026:0934 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-cuda-rhel9 | Fixed | RHSA-2025:23078 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-rocm-rhel9 | Fixed | RHSA-2025:23079 |
| Red Hat AI Inference Server 3.2 | rhaiis/model-opt-cuda-rhel9 | Fixed | RHSA-2025:23080 |
| Red Hat AI Inference Server 3.2 | rhaiis/model-opt-cuda-rhel9 | Fixed | RHSA-2025:23202 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-cuda-rhel9 | Fixed | RHSA-2025:23204 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-rocm-rhel9 | Fixed | RHSA-2025:23205 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-tpu-rhel9 | Fixed | RHSA-2025:23209 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-rocm-rhel9 | Fixed | RHSA-2025:23449 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-cuda-rhel9 | Fixed | RHSA-2026:3461 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-rocm-rhel9 | Fixed | RHSA-2026:3462 |
| Red Hat Advanced Cluster Security 4.7 | advanced-cluster-security/rhacs-scanner-db-rhel8 | Fixed | RHSA-2025:23248 |
| Red Hat Advanced Cluster Security 4.7 | advanced-cluster-security/rhacs-scanner-db-slim-rhel8 | Fixed | RHSA-2025:23248 |
| Red Hat Advanced Cluster Security 4.8 | advanced-cluster-security/rhacs-scanner-db-slim-rhel8 | Fixed | RHSA-2025:23550 |
| Red Hat Ceph Storage 8 | rhceph/rhceph-8-rhel9 | Fixed | RHSA-2025:23227 |
| Red Hat Ceph Storage 8 | rhceph/rhceph-8-rhel9 | Fixed | RHSA-2026:1652 |
| Red Hat Discovery 2 | discovery/discovery-server-rhel9 | Fixed | RHSA-2026:0414 |
| Red Hat Discovery 2 | discovery/discovery-ui-rhel9 | Fixed | RHSA-2026:0414 |
| Red Hat Enterprise Linux 10 | expat | Fixed | RHSA-2025:19403 |
| Red Hat Enterprise Linux 10 | expat | Fixed | RHSA-2025:21030 |
| Red Hat Enterprise Linux 10 | firefox | Will not fix | |
| Red Hat Enterprise Linux 10 | thunderbird | Will not fix | |
| Red Hat Enterprise Linux 6 | compat-expat1 | Not affected | |
| Red Hat Enterprise Linux 6 | expat | Not affected | |
| Red Hat Enterprise Linux 7 | expat | Not affected | |
| Red Hat Enterprise Linux 7 | firefox | Not affected | |
| Red Hat Enterprise Linux 8 | expat | Fixed | RHSA-2025:21776 |
| Red Hat Enterprise Linux 8 | mingw-expat | Fixed | RHSA-2025:21974 |
| Red Hat Enterprise Linux 8 | mingw-fontconfig | Fixed | RHSA-2026:3407 |
| Red Hat Enterprise Linux 8 | xmlrpc-c | Not affected | |
| Red Hat Enterprise Linux 8 | firefox | Will not fix | |
| Red Hat Enterprise Linux 8 | thunderbird | Will not fix | |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | expat | Fixed | RHSA-2025:22871 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | spice-client-win | Fixed | RHSA-2026:0078 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | expat | Fixed | RHSA-2025:22785 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | spice-client-win | Fixed | RHSA-2026:0077 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | expat | Fixed | RHSA-2025:22785 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | spice-client-win | Fixed | RHSA-2026:0077 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | expat | Fixed | RHSA-2025:22842 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | spice-client-win | Fixed | RHSA-2026:0076 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | expat | Fixed | RHSA-2025:22842 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | spice-client-win | Fixed | RHSA-2026:0076 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | expat | Fixed | RHSA-2025:22842 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | spice-client-win | Fixed | RHSA-2026:0076 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | expat | Fixed | RHSA-2025:22607 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | spice-client-win | Fixed | RHSA-2026:0001 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | expat | Fixed | RHSA-2025:22607 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | spice-client-win | Fixed | RHSA-2026:0001 |
| Red Hat Enterprise Linux 9 | expat | Fixed | RHSA-2025:22175 |
| Red Hat Enterprise Linux 9 | firefox | Will not fix | |
| Red Hat Enterprise Linux 9 | thunderbird | Will not fix | |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | expat | Fixed | RHSA-2025:22035 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | expat | Fixed | RHSA-2025:22034 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | expat | Fixed | RHSA-2025:22033 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | expat | Fixed | RHSA-2025:21773 |
| Red Hat JBoss Core Services 2.4.62.SP2 | expat | Fixed | RHSA-2025:19020 |
| Red Hat OpenShift Container Platform 4.12 | rhcos | Fixed | RHSA-2026:0316 |
| Red Hat OpenShift Container Platform 4.13 | rhcos | Fixed | RHSA-2026:0677 |
| Red Hat OpenShift Container Platform 4.14 | rhcos | Fixed | RHSA-2026:0996 |
| Red Hat OpenShift Container Platform 4.15 | rhcos | Fixed | RHSA-2026:1541 |
| Red Hat OpenShift Container Platform 4.16 | rhcos | Fixed | RHSA-2026:0326 |
| Red Hat OpenShift Container Platform 4.17 | rhcos | Fixed | RHSA-2026:0702 |
| Red Hat OpenShift Container Platform 4.18 | rhcos | Fixed | RHSA-2026:0332 |
| Red Hat OpenShift Container Platform 4.19 | rhcos | Fixed | RHSA-2026:0674 |
| Red Hat OpenShift Container Platform 4.20 | rhcos | Fixed | RHSA-2026:0420 |
| Red Hat OpenShift distributed tracing 3.8.1 | rhosdt/tempo-gateway-opa-rhel8 | Fixed | RHSA-2025:22618 |
| Red Hat OpenShift distributed tracing 3.8.1 | rhosdt/tempo-gateway-rhel8 | Fixed | RHSA-2025:22618 |
| Red Hat OpenShift distributed tracing 3.8.1 | rhosdt/tempo-jaeger-query-rhel8 | Fixed | RHSA-2025:22618 |
| Red Hat OpenShift distributed tracing 3.8.1 | rhosdt/tempo-operator-bundle | Fixed | RHSA-2025:22618 |
| Red Hat OpenShift distributed tracing 3.8.1 | rhosdt/tempo-query-rhel8 | Fixed | RHSA-2025:22618 |
| Red Hat OpenShift distributed tracing 3.8.1 | rhosdt/tempo-rhel8 | Fixed | RHSA-2025:22618 |
| Red Hat OpenShift distributed tracing 3.8.1 | rhosdt/tempo-rhel8-operator | Fixed | RHSA-2025:22618 |
| Red Hat Quay 3.16 | quay/quay-builder-rhel9 | Fixed | RHSA-2026:0518 |
| Red Hat Update Infrastructure 5 | rhui5/cds-rhel9 | Fixed | This content is not included.RHSA-2025:22935 |
| Red Hat Update Infrastructure 5 | rhui5/haproxy-rhel9 | Fixed | This content is not included.RHSA-2025:22935 |
| Red Hat Update Infrastructure 5 | rhui5/installer-rhel9 | Fixed | This content is not included.RHSA-2025:22935 |
| Red Hat Update Infrastructure 5 | rhui5/rhua-rhel9 | Fixed | This content is not included.RHSA-2025:22935 |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 5.3 | |
| Attack Vector | Network | |
| Attack Complexity | Low | |
| Privileges Required | None | |
| User Interaction | None | |
| Scope | Unchanged | |
| Confidentiality Impact | None | |
| Integrity Impact | None | |
| Availability Impact | Low |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.