{"id":"UBUNTU-CVE-2025-58754","details":"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.","modified":"2026-01-21T18:22:50.380572Z","published":"2025-09-12T02:15:00Z","upstream":["CVE-2025-58754"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-58754"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-58754"},{"type":"REPORT","url":"https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj"},{"type":"REPORT","url":"https://github.com/axios/axios/pull/7011"},{"type":"REPORT","url":"https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593"},{"type":"REPORT","url":"https://github.com/axios/axios/releases/tag/v1.12.0"}],"affected":[{"package":{"name":"node-axios","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-axios@0.19.0+dfsg-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.0+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"0.19.0+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58754.json"}},{"package":{"name":"node-axios","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-axios@0.26.0+dfsg-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.1+dfsg-1","0.23.0+dfsg-2","0.24.0+dfsg-1","0.25.0+dfsg-2","0.26.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"0.26.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58754.json"}},{"package":{"name":"node-axios","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-axios@1.6.8+dfsg-2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1+dfsg-1","1.5.1+dfsg-1","1.6.2+dfsg-1","1.6.8+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"1.6.8+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58754.json"}},{"package":{"name":"node-axios","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-axios@1.11.0+dfsg-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.9+dfsg-1","1.8.4+dfsg-1","1.11.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"1.11.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58754.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}