Skip to content
Heist/ feed
Back to feed
HighFix available

node-axios — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-58754

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.

Products
node-axios
Affected 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
Fixed versions
1.12.1+dfsg-1
CVEs
CVE-2025-58754
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 23:21 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-58754

core-osv · Original source

Published 12 Sept 2025, 02:15 UTC

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.

osv:DEBIAN-CVE-2025-58754

node-axios

Fixed versions: Not specified

node-axios

Fixed versions: Not specified

node-axios

Fixed versions: 1.12.1+dfsg-1

Complete source record
{
  "id": "b01299ca95ca0977701c67e9dd339b8e6ca18ce8b2cff315a1a194fcdc27e600",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-58754",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-58754",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2025-58754",
    "products": [
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11.0+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.12.1+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.13.1+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.13.2+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.14.0+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.15.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.15.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.18.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.1+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.1+dfsg-1+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.5.1+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.6.2+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.6.8+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.6.8+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7.3+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7.4+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7.7+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7.9+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.8.4+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.12.1+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.13.1+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.13.2+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.14.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.15.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.15.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.16.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.18.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.19.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.8.4+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.12.1+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.11.0+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.8.4+dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2025-58754",
      "aliases": [
        "DEBIAN-CVE-2025-58754"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/debian/node-axios?arch=source&distro=bookworm",
            "ecosystem": "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-58754.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/debian/node-axios?arch=source&distro=trixie",
            "ecosystem": "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-58754.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.12.1+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/debian/node-axios?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.11.0+dfsg-1",
            "1.8.4+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-58754.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:41.529016750Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-58754"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-58754"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-58754",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 418378,
  "published_at": "2025-09-12T02:15:46.873+00:00"
}