CVE-2026-101903Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)
Axios is a promise-based HTTP client for the browser and Node.js. From 1.16.1 until 1.20.0, the RFC 2397 regular expression allows slash characters on both sides of the media-type separator. An application passes an attacker-controlled malformed data URL containing many slash characters and no comma. the JavaScript regular-expression engine explores many separator placements before rejecting the URL. Synchronous excessive backtracking can block the Node.js event loop and cause denial of service. The affected identifiers are fromDataURI, DATA_URL_PATTERN, data:. This issue is fixed in version 1.20.0.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-axios | Fix pending | UBUNTU-CVE-2026-101903 | |
| Ubuntu 26.04 | node-axios | Fix pending | UBUNTU-CVE-2026-101903 | |
| Ubuntu 24.04 | node-axios | Fix pending | UBUNTU-CVE-2026-101903 | |
| Ubuntu 22.04 | node-axios | Fix pending | UBUNTU-CVE-2026-101903 | |
| Ubuntu 20.04 | node-axios | Fix pending | UBUNTU-CVE-2026-101903 | |
| Debian 14 | node-axios | Fixed | 1.20.0-1 | DEBIAN-CVE-2026-101903 |
| Debian 13 | node-axios | Fix pending | DEBIAN-CVE-2026-101903 | |
| npm library | axios | Fixed | 1.20.0 | GHSA-c29m-xwm3-cm6r |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- axios: affected: >= 1.16.1, < 1.20.0
References
- https://github.com/axios/axios/security/advisories/GHSA-c29m-xwm3-cm6r
- https://github.com/axios/axios/pull/11141
- https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a
- https://github.com/axios/axios/releases/tag/v1.20.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.