{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "59c7ef3bc5080de3203f0a0d5243a18bcf11175e"
            },
            {
              "fixed": "e259a7ee2141f5c89fd3d3e7d6825e706754340e"
            }
          ],
          "repo": "https://github.com/expressjs/multer",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g5hg-p3ph-g8qg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-248"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48997.json"
  },
  "details": "Multer is a node.js middleware for handling `multipart/form-data`. A vulnerability that is present starting in version 1.4.4-lts.1 and prior to version 2.0.1 allows an attacker to trigger a Denial of Service (DoS) by sending an upload file request with an empty string field name. This request causes an unhandled exception, leading to a crash of the process. Users should upgrade to `2.0.1` to receive a patch. No known workarounds are available.",
  "id": "CVE-2025-48997",
  "modified": "2026-04-01T23:08:49.142408266Z",
  "published": "2025-06-03T18:21:59.527Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48997.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/expressjs/multer/security/advisories/GHSA-g5hg-p3ph-g8qg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-48997"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/expressjs/multer/issues/1233"
    },
    {
      "type": "FIX",
      "url": "https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/expressjs/multer/pull/1256"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Multer vulnerable to Denial of Service via unhandled exception"
}