CVE-2026-67312
CVE-2026-67312 · axios 0.28.0 before 0.33.0 Denial of Service via formToJSON
This page contains facts from public vulnerability sources. Check the original advisory before updating.
axios versions from 0.28.0 before 0.33.0 and from 1.0.0 before 1.18.0 contain uncontrolled recursion in formDataToJSON (exposed as axios.formToJSON() and used internally when serializing FormData with Content-Type: application/json). When an application passes attacker-controlled FormData field names, a field name with thousands of nested bracket-delimited segments causes unbounded recursion in buildPath(), exhausting the JavaScript call stack (RangeError: Maximum call stack size exceeded) and causing denial of service for that request, or process termination in applications without appropriate error handling.
CVSS 6.3 · Medium · EPSS 0.5% · Fix available
- Published
- Updated
Affected products and versions
axios
- Versions
- ≥ 0.28.0, < 0.33.0: Affected (semver)
- 0.33.0: Not affected (semver)
Update to 0.33.0
axios
- Versions
- ≥ 1.0.0, < 1.18.0: Affected (semver)
- 1.18.0: Not affected (semver)
Update to 1.18.0
node-axios Debian:12
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.1+dfsg-1
- 1.13.2+dfsg-1
- 1.14.0+dfsg-1
- 1.15.0-1
- 1.15.2-1
- 1.16.0-1
- 1.18.0-1
- 1.19.0-1
- 1.2.1+dfsg-1
- 1.2.1+dfsg-1+deb12u1
- 1.20.0-1
- 1.5.1+dfsg-1
- 1.6.2+dfsg-1
- 1.6.8+dfsg-1
- 1.6.8+dfsg-2
- 1.7.3+dfsg-1
- 1.7.4+dfsg-1
- 1.7.7+dfsg-1
- 1.7.9+dfsg-1
- 1.8.4+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Debian:13
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.1+dfsg-1
- 1.13.2+dfsg-1
- 1.14.0+dfsg-1
- 1.15.0-1
- 1.15.2-1
- 1.16.0-1
- 1.18.0-1
- 1.19.0-1
- 1.20.0-1
- 1.8.4+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Debian:14
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.1+dfsg-1
- 1.13.2+dfsg-1
- 1.14.0+dfsg-1
- 1.15.0-1
- 1.15.2-1
- 1.16.0-1
- 1.8.4+dfsg-1
- Affected ranges
- ECOSYSTEM: < 1.18.0-1
Update to 1.18.0-1
axios npm
- Affected ranges
- SEMVER: ≥ 0.28.0, < 0.33.0
Update to 0.33.0
axios npm
- Affected ranges
- SEMVER: ≥ 1.0.0, < 1.18.0
Update to 1.18.0
node-axios Ubuntu:Pro:20.04:LTS
- Versions
- 0.19.0+dfsg-2
- 0.19.0+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Ubuntu:Pro:22.04:LTS
- 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
- 0.26.0+dfsg-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Ubuntu:Pro:24.04:LTS
- Versions
- 1.2.1+dfsg-1
- 1.5.1+dfsg-1
- 1.6.2+dfsg-1
- 1.6.8+dfsg-2
- 1.6.8+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-axios Ubuntu:Pro:26.04:LTS
- Versions
- 1.11.0+dfsg-1
- 1.12.1+dfsg-1
- 1.13.2+dfsg-1build1
- 1.13.2+dfsg-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published