CVE-2025-58754 Details
Description
Axios is a promise based HTTP client for the browser and Node.js. When Axios starting in version 0.28.0 and prior to versions 0.30.2 and 1.12.0 runs on Node.js and is given a URL with the `data:` scheme, it does not perform HTTP. Instead, its Node http adapter decodes the entire payload into memory (`Buffer`/`Blob`) and returns a synthetic 200 response. This path ignores `maxContentLength` / `maxBodyLength` (which only protect HTTP responses), so an attacker can supply a very large `data:` URI and cause the process to allocate unbounded memory and crash (DoS), even if the caller requested `responseType: 'stream'`. Versions 0.30.2 and 1.12.0 contain a patch for the issue.
A denial-of-service vulnerability has been identified in Axios versions prior to 1.11.0 when used in Node.js. The issue arises when Axios is given a data URL, which is not handled as a standard HTTP request. Instead, the Node.js HTTP adapter decodes the entire payload into memory, creating a synthetic 200 response. This process ignores any specified maximum content or body length limits, allowing an attacker to send a large data URI that can exhaust memory resources and crash the application. This vulnerability is particularly problematic because it can occur even when the response type is set to 'stream', which is typically used to handle large data transfers without overloading memory.
Users can upgrade to Axios version 1.12.0 or later, where this vulnerability has been patched. The updated version enforces maximum content length limits on data URLs, preventing the decoding of excessively large payloads that could lead to memory exhaustion.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axios axios | < 0.30.2 >= 1.0.0, < 1.12.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 16, 2026 | CVE Modified | [email protected] |
| Oct 24, 2025 | Modified Analysis | [email protected] |
| Sep 29, 2025 | CVE Modified | [email protected] |
| Sep 20, 2025 | Initial Analysis | [email protected] |
| Sep 12, 2025 | CVE Modified | CISA-ADP |
| Sep 12, 2025 | New CVE Received | [email protected] |