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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-770"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58754.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.0.0"
},
{
"fixed": "1.12.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0.28.0"
},
{
"fixed": "0.30.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "945435fc51467303768202250debb8d4ae892593"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "a1b1d3f073a988601583a604f5f9f5d05a3d0b67"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c30252f685e8f4326722de84923fcbc8cf557f06"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.30.2",
"range": [
{
"fixed": "2fcb4ec5a11710ac26f9f89cb7d46dd51a1cf013"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v1.12.0",
"range": [
{
"fixed": "0d8ad6e1de0f5339e02bc262d6f0df4936974120"
}
],
"source": "REFERENCES_TAG"
}
]
}