CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-12590

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 3.7 · low

body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement

Impact: In body-parser versions prior to 1.20.6 (1.x line) and 2.3.0 (2.x line), when the parser is configured with an invalid limit option value such as an unparseable string or NaN, bytes.parse returns null and the request body size check is silently skipped. Applications that rely on limit as their primary safeguard against oversized request bodies will accept arbitrarily large payloads, leading to excessive memory and CPU usage and denial of service. Patches: This issue is fixed in body-parser 1.20.6 and 2.3.0. After the fix, invalid limit values throw a clear error at parser construction time instead of silently disabling enforcement, while null and undefined continue to fall back to the default limit of 100kb. Workarounds: Validate the limit value before passing it to body-parser. For example, parse the value at startup and reject any configuration where the result is null or a non-finite number.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.412% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 3.7 · published by openjs
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:58:05.200Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:58:05.200ZCVE Program
epssverified2026-11-19T18:27:16.248ZFIRST EPSS
patchesverified2026-11-19T12:52:30.847ZOSV
affectedverified2026-11-19T12:58:05.200ZCVE Program
lifecycleverified2026-11-19T12:58:05.200ZCVE Program

Affected versions and configuration

body-parser body-parser; default status: unaffected: 0 to < 1.20.6 [affected; scheme: semver]; 1.20.6 [unaffected; scheme: semver]; 2.0.0 to < 2.3.0 [affected; scheme: semver]; 2.3.0 [unaffected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "body-parser",
      "product": "body-parser",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.20.6",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "1.20.6",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "2.0.0",
          "lessThan": "2.3.0",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "2.3.0",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:npm/body-parser",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-12590",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-07-09T12:05:36.853756Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-07-09T12:06:01.554Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-v422-hmwv-36x6",
  "aliases": [
    "CVE-2026-12590"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.20.6"
            }
          ]
        }
      ],
      "package": {
        "name": "body-parser",
        "purl": "pkg:npm/body-parser",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-v422-hmwv-36x6/GHSA-v422-hmwv-36x6.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.0.0"
            },
            {
              "fixed": "2.3.0"
            }
          ]
        }
      ],
      "package": {
        "name": "body-parser",
        "purl": "pkg:npm/body-parser",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-v422-hmwv-36x6/GHSA-v422-hmwv-36x6.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/expressjs/body-parser/security/advisories/GHSA-v422-hmwv-36x6",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-12590",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/expressjs/body-parser/pull/698",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/body-parser/pull/741",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/body-parser/commit/2322e111cc321413ec2b7b76d01be533d3de9d7d",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/body-parser/commit/3492672eee593d5c158f239b6e9115498a5dbeac",
      "type": "WEB"
    },
    {
      "url": "https://cna.openjsf.org/security-advisories.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/body-parser",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/expressjs/body-parser/releases/tag/1.20.6",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/body-parser/releases/tag/v2.3.0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-770"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "nvd_published_at": "2026-07-09T11:16:24Z",
    "github_reviewed_at": "2026-07-20T23:23:26Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagebody-parserNot a distribution channel1.20.6Official record
ecosystem-boundarynpm / packagebody-parserNot a distribution channel2.3.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history