{"id":"CVE-2025-58754","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-58754","generatedAt":"2026-10-28T06:13:36.077Z","title":"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…","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.","published":"2025-09-12T02:15:47.000Z","lastModified":"2026-10-19T17:10:00.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-770"],"affected":["axios/axios"],"epss":{"score":0.01196,"percentile":0.67921,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.20%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/axios/axios/commit/c30252f685e8f4326722de84923fcbc8cf557f06","source":"security-advisories@github.com"},{"url":"https://github.com/axios/axios/pull/7011","tags":["Issue Tracking","Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/axios/axios/pull/7034","tags":["Issue Tracking"],"source":"security-advisories@github.com"},{"url":"https://github.com/axios/axios/releases/tag/v0.30.2","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/axios/axios/releases/tag/v1.12.0","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj","tags":["Exploit","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj","tags":["Exploit","Vendor Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-58754","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}