# CVE-2025-58754: Axios is vulnerable to DoS attack through lack of data size check

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 0.30.2, 1.12.0 (CNA); fix release not confirmed
- Status: published
- Published: 2025-09-12 · Modified: 2026-01-16
- Aliases: UBUNTU-CVE-2025-58754, DEBIAN-CVE-2025-58754, CGA-2423-7jvr-hjmx, CGA-298c-5xj2-v4q6, CGA-36vc-rc7q-jrfx, CGA-3hq3-v5wj-6qv2, CGA-43x2-757c-2f8r, CGA-49gc-8h5w-669w, CGA-4fwm-r862-h754, CGA-4j6f-6xpc-c7w5, CGA-4jg4-9h82-266r, CGA-4pr6-hjxm-325r, CGA-4qpf-622j-8m22, CGA-52wm-9mf3-75jm, CGA-5pxx-w5v6-p2c4, CGA-5vwm-h5xc-vq2p, CGA-6374-g7r2-jf84, CGA-67j7-wp45-mwfm, CGA-6vhw-v7gf-97cx, CGA-762j-mv3c-4fxr, CGA-79p6-jjwv-pgrg, CGA-7j6c-64qh-4j74, CGA-7p5w-5c4r-5crh, CGA-8j47-gwgj-vw87, CGA-9vm8-gqgc-3jr9, CGA-9vr4-p5h3-rmv9, CGA-9wc6-7pp8-5c44, CGA-cpgm-5693-gxp9, CGA-f929-73r4-hr5m, CGA-frvc-j4fg-4gpm, CGA-h5c7-wgm9-j4wf, CGA-h87v-9m7h-cwjw, CGA-hh7x-r3fm-c55r, CGA-hx4r-f2xf-f9r2, CGA-j6v6-q8rh-mchj, CGA-j7cm-2p78-h73c, CGA-m28p-rj83-667w, CGA-m84j-42r2-9p82, CGA-mq52-26xw-p3xj, CGA-prcj-2r4f-m82q, CGA-qg7x-j26r-794c, CGA-r2qf-r2fp-fjpx, CGA-r3jr-6q44-7748, CGA-r4rm-mf2g-cvx9, CGA-r97w-hmwr-qv6v, CGA-rj2m-2629-9mqc, CGA-v4hx-rhj2-x7q3, CGA-v6pg-6896-mw7v, CGA-v9wc-2pp9-j9v4, CGA-vh9p-9pww-r42x, CGA-vv26-vpc8-ffr7, CGA-vw4c-75mv-gh8f, CGA-vx52-3q2q-h58f, CGA-wjgx-5r44-2wqv, CGA-wp9p-2g4m-m6gr, CGA-wpv7-mhfr-f78h, CGA-wv44-24w3-vhw5, CGA-wxfv-wwx7-f3p6, CGA-x555-jffp-jjxm, CGA-x567-8rqx-prg3, CGA-x66c-76jq-c55f, CGA-x6c2-fp7j-7xqh, CGA-x72j-qjmp-f72f, CGA-x9hf-97cx-pfpq, CGA-xrp3-7grx-2xwp, GHSA-4hjh-wcwx-xvwj, CGA-2256-4hg2-wjgg, CGA-2cjm-w7ff-pccp, CGA-2gw2-x7jg-5f2p, CGA-2jpv-cfh6-4g8m, CGA-2rm4-jmcr-9fm7, CGA-36wr-h32j-x2fr, CGA-3f49-7f7x-pqq3, CGA-3g3q-5xx8-hf6m, CGA-3hw2-w5j3-qjw8, CGA-3q5p-rqfx-6543, CGA-4r5h-6pfm-557c, CGA-4rv2-h4hf-qm4r, CGA-52vc-fcqr-fc9c, CGA-536g-jj95-67x2, CGA-59w5-wrjp-fxjm, CGA-5g4g-7rmm-c62j, CGA-5wj9-mh3f-9fwf, CGA-65x6-hcgv-6h88, CGA-6gvw-6jg4-jhqv, CGA-6phr-gx87-4j56, CGA-6q4q-jv2x-cpjh, CGA-6qr8-m63x-3xmw, CGA-6r98-9v97-f88c, CGA-6w4q-9h9j-3259, CGA-73r4-g87m-hr77, CGA-764v-j7cw-mxcm, CGA-79wx-84jh-vpv8, CGA-7ghf-rfx7-wfqv, CGA-7p85-pjv4-m2f9, CGA-7qx8-rmcp-pv5r, CGA-82j5-jm2q-3fwj, CGA-839g-6442-8q6w, CGA-84fm-gmcj-mvq7, CGA-8c27-2j3r-gp25, CGA-8cfg-8m5h-85gc, CGA-8hc6-gv2m-h6wm, CGA-8jx9-rmff-jfjv, CGA-8m2x-jjhq-9q7c, CGA-8mpw-4rmq-xw46, CGA-8q24-rhj4-6r6p, CGA-8x95-xww7-2p26, CGA-947r-mvh4-mf3r, CGA-9rcv-m9p3-5ggw, CGA-c2q5-8484-48x6, CGA-c3xw-c63j-4p9x, CGA-c6mv-pq9r-qc6p, CGA-cfqg-6xcg-6288, CGA-cfv9-74v8-39r7, CGA-chvx-8v5v-p7pf, CGA-cjxf-9cg3-x5q6, CGA-f55p-p8jg-5f73, CGA-f5vw-hc22-98x4, CGA-fc4j-5pfj-q4wq, CGA-ffrq-745w-c828, CGA-fjcp-h8fj-f8w5, CGA-fm5f-w7p5-q9wr, CGA-fmhm-qpj5-5mq8, CGA-frwp-fwwm-p3ph, CGA-h3wv-x37p-h9hp, CGA-hfpp-rhxv-273j, CGA-hhc7-7g6g-p9w5, CGA-hjg6-x58j-wggp, CGA-hjm6-p9qm-vf4p, CGA-hm4j-3w5v-pw9j, CGA-hmq5-pjm6-m254, CGA-hwqc-4gvv-mmgf, CGA-j45g-64q7-4p4j, CGA-jgfp-54g7-7v98, CGA-jrm6-6pcc-3cjp, CGA-jwhw-2xwq-qgcf, CGA-mc3q-fgj8-wpc9, CGA-mf7g-ffpj-vvpv, CGA-mghq-3h23-qmvr, CGA-mhfh-w25j-976p, CGA-mjx6-67h9-8qx3, CGA-mpwg-m9gc-85r2, CGA-mw69-938c-cx6h, CGA-mx8v-hjcm-pqhw, CGA-mxwh-7v4r-hv2r, CGA-p3pj-g7wc-h5v7, CGA-p3rh-xwcv-wcrm, CGA-pfh6-ggxv-cx33, CGA-pg92-5377-58wv, CGA-pjh3-28f9-wxvv, CGA-pw8x-fp8w-c37q, CGA-q4p4-qg9x-r52v, CGA-q6gm-v893-8pm4, CGA-qcqc-397q-wpfr, CGA-r244-6wpj-8887, CGA-r94m-phg8-29xj, CGA-rm58-5m9m-f9f5, CGA-v5pj-gx89-5hxf, CGA-v9gh-382r-hqh5, CGA-vjmj-6jh5-wg5v, CGA-vx3q-gh6x-822j, CGA-w325-f4q7-p4jp, CGA-w8q3-6jvm-x959, CGA-w8v3-87qf-6jgv, CGA-wgm3-52hj-93vp, CGA-wp9g-5g8q-pw4q, CGA-xcvg-q68w-xx7c, CGA-xp83-rj6q-h3xw, CGA-xqjc-8x44-557w, CGA-xrv7-8qjm-6ffq, CGA-xvqq-5mw2-83hp, CGA-xx4j-v7r2-c8rg
- Record: https://cvemate.com/vulnerability/CVE-2025-58754 · JSON: https://cvemate.com/vulnerability/CVE-2025-58754/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.291%, percentile 71.248%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 109)

- chainguard airflow-2 (Chainguard): \< 2.11.0-r15
- chainguard awx (Chainguard): \< 24.6.1-r42
- chainguard gitlab-rails-ce-18.1 (Chainguard): \< 18.1.6-r32
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded) \| \< 18.10.8-r8
- chainguard gitlab-rails-ce-18.11 (Chainguard): \< 18.11.6-r7
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): \< 19.0.3-r1
- chainguard gitlab-rails-ce-19.1 (Chainguard): \< 19.1.3-r7
- chainguard gitlab-rails-ce-19.2 (Chainguard): \< 19.2.4-r4
- chainguard gitlab-rails-ce-19.3 (Chainguard): \< 19.3.1-r4
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.8-r8
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): \< 18.11.7-r1
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj>
- <https://github.com/axios/axios/pull/7011>
- <https://github.com/axios/axios/pull/7034>
- <https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593>
- <https://github.com/axios/axios/commit/a1b1d3f073a988601583a604f5f9f5d05a3d0b67>
- <https://github.com/axios/axios/commit/c30252f685e8f4326722de84923fcbc8cf557f06>
- <https://github.com/axios/axios/releases/tag/v0.30.2>
- <https://github.com/axios/axios/releases/tag/v1.12.0>
- <https://ubuntu.com/security/CVE-2025-58754>
- <https://www.cve.org/CVERecord?id=CVE-2025-58754>
- <https://security-tracker.debian.org/tracker/CVE-2025-58754>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58754.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58754>
- <https://github.com/axios/axios>

---

Data as of 2026-12-05T09:39:08.968Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
