CVE-2026-12590 json
body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
published 4mo ago modified last mo. also GHSA-v422-hmwv-36x6 , EUVD-2026-42577
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm body-parser 1.20.6, 2.3.0
- body-parser body-parser 1.20.6, 2.3.0
- node-body-parser Debian 14 2.3.0+~1.19.6-1
debian advisories DEBIAN-CVE-2026-12590
- github.com/expressjs/body-parser@2322e11 commit
- github.com/expressjs/body-parser@3492672 commit
- github.com/expressjs/body-parser#698 pull request
- github.com/expressjs/body-parser#741 pull request
- github.com/expressjs/body-parser/releases/tag/1.20.6 release
- github.com/expressjs/body-parser/releases/tag/v2.3.0 release
- github.com/expressjs/body-parser/security/advisories/GHSA-v422-hmwv-3… advisory
Is CVE-2026-12590 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-12590 updated cvss 5.9
body-parser: body-parser: Denial of Service via invalid limit option
-
Red Hat Confidential Compute Attestation openshift-sandboxed-containers/osc-pccs Red Hat Cryostat 4 body-parser, cryostat-openshift-console-plugin-npm, cryostat/cryostat-openshift-console-plugin-rhel9 Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-ui-rhel8, mta/mta-ui-rhel9, mta/mta-solution-server-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-ui-rhel8 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel9-operator, workload-availability/node-healthcheck-operator-bundle, workload-availability/node-healthcheck-must-gather-rhel9affected: workaround, no fix available “Fix deferred”
+29 more productsfewer
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-console-plugin-rhel9, openshift-lightspeed/lightspeed-console-plugin-419-rhel9, openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-ui-rhel9, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-console-plugin-rhel9, openshift-pipelines/pipelines-console-plugin-pf5-rhel9 Red Hat OpenShift Serverless openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9, +3 more Red Hat OpenShift Service Mesh 3 openshift-service-mesh/kiali-rhel9, openshift-service-mesh/kiali-ossmc-rhel9, openshift-service-mesh/kiali-rhel9-operator, openshift-service-mesh/kiali-operator-bundle Red Hat AMQ Broker 7 body-parser Red Hat Ansible Automation Platform 2 automation-eda-controller, ansible-automation-platform-26/gateway-rhel9, ansible-automation-platform-27/gateway-rhel9, ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-26/lightspeed-rhel9, +3 more Red Hat build of Apache Camel - HawtIO 4 body-parser Red Hat build of Apache Camel for Spring Boot 4 body-parser Red Hat Build of Podman Desktop rh-podman-desktop.git Red Hat Connectivity Link 1 rhcl-1/rhcl-console-plugin-rhel9 Red Hat Data Grid 8 body-parser Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9 Red Hat Discovery 2 discovery/discovery-ui-rhel9 Red Hat Enterprise Linux 8 pcs, dotnet, grafana, mozjs60, pcs-snmp, dotnet8.0, +29 more Red Hat Enterprise Linux 9 gjs, pcs, sgx-mpa, tdx-qgs, pcs-snmp, sgx-libs, +5 more Red Hat Enterprise Linux 10 linux-sgx Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat JBoss Enterprise Application Platform Expansion Pack body-parser Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-console-rhel9, openshift4/ose-agent-installer-ui-rhel9 Red Hat OpenShift Container Platform 5 openshift5/ose-console-rhel9, openshift5/ose-agent-installer-ui-rhel9 Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces/openvsx-rhel9, devspaces/jetbrains-ide-rhel9 Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin, container-native-virtualization/kubevirt-console-plugin-rhel9 Red Hat Quay 3 quay/quay-rhel8 Red Hat Satellite 6 satellite/iop-remediations-rhel9 Red Hat Trusted Artifact Signer rhtas/rhtas-console-ui-rhel9 Red Hat Trusted Profile Analyzer rhtpa/rhtpa-trustification-service-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/automation-portal, ansible-automation-platform/bootc-automation-portal-rhel9 -
Red Hat Hardened Images dotnet8.0not affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | body-parser | <1.20.6 >=2.0.0, <2.3.0 |
1.20.6 2.3.0 |
Affected products
- body-parser body-parser
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/expressjs/body-parser/security/advisories/GHSA-v422-hmwv-36x6
web, mitigation, patch, vendor-advisory
-
github.com
/expressjs/body-parser/pull/698
web
-
github.com
/expressjs/body-parser/pull/741
web
-
github.com
/expressjs/body-parser/commit/2322e111cc321413ec2b7b76d01be533d3de9d7d
web
-
github.com
/expressjs/body-parser/commit/3492672eee593d5c158f239b6e9115498a5dbeac
web
-
cna.openjsf.org
/security-advisories.html
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-12590
advisory
-
github.com
/expressjs/body-parser
package
-
github.com
/expressjs/body-parser/releases/tag/1.20.6
web
-
github.com
/expressjs/body-parser/releases/tag/v2.3.0
web
Sources
- CVE List CVE-2026-12590
- GitHub Advisory GHSA-v422-hmwv-36x6
- NVD CVE-2026-12590
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.