# CVE-2026-12590: body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-09 · Modified: 2026-07-09
- Aliases: UBUNTU-CVE-2026-12590, DEBIAN-CVE-2026-12590, CGA-3g4m-wwr3-gjwc, CGA-3xcm-9wpp-hxh8, CGA-48vm-724h-27rw, CGA-546j-fr42-86q4, CGA-5cc9-m2p8-r3jp, CGA-5q9q-wcxx-v575, CGA-7f77-j3wf-g495, CGA-7m9f-6558-f9cx, CGA-84f5-w9wr-x85j, CGA-8wwx-29gc-frg8, CGA-cg8j-6h3j-q7jc, CGA-f3qm-rjwg-vr88, CGA-fc39-j33h-vf6m, CGA-h2q8-h2r6-rc5r, CGA-h7g6-8xv2-7944, CGA-h7wx-qjw8-c3q2, CGA-hg39-9wf5-6547, CGA-j9wp-hpjc-6m57, CGA-jg87-mccw-r7m7, CGA-m3j8-q6fg-p4gv, CGA-mf5v-vcrj-mv83, CGA-p7rp-3wjh-8wmc, CGA-pf69-897q-vvhj, CGA-pjqg-j6j8-6r88, CGA-q436-qv7h-f6h4, CGA-q59v-pwrf-9484, CGA-q5xq-cr46-88rr, CGA-qfhj-8983-grr5, CGA-qvpp-ff4c-pf7m, CGA-r7rf-34f7-cp96, CGA-rff2-9g8h-wfp8, CGA-rmq9-7vxf-4j65, CGA-v83r-fgmq-rf7j, CGA-v9vc-p7wh-cr7h, CGA-x2x6-5pcm-qrjc, CGA-xx5f-jmrc-4jr9, GHSA-v422-hmwv-36x6, CGA-2288-v7hp-jv6x, CGA-23cg-vmxf-mjhc, CGA-2987-mhmw-qqrh, CGA-2g4f-rr28-9j7w, CGA-2g96-q92v-f955, CGA-2j7q-vpj9-5q3g, CGA-2jgx-9vc9-h7w4, CGA-2jp6-rmvh-9mc2, CGA-2w64-4j7f-qrqw, CGA-2xc4-c9pq-59gq, CGA-339r-x6ff-32xw, CGA-358r-f3wx-wjpx, CGA-39mc-v85v-64cc, CGA-39pr-8rw5-6r94, CGA-3qf4-x24h-j3h8, CGA-3r95-wq95-4mc5, CGA-42pm-2c2j-75fv, CGA-446p-hrff-r2vw, CGA-498r-xc4j-g69m, CGA-4cgm-h3pf-3288, CGA-4hh4-vm65-4567, CGA-4qff-jxx6-2968, CGA-4vr2-c6f3-mc94, CGA-4w4f-v6xx-hh9c, CGA-523x-qrrg-jhp9, CGA-5524-3wmq-mgr3, CGA-57wv-gr34-75c2, CGA-583v-3vmm-3w48, CGA-5fqq-v6w7-m6j7, CGA-62m4-8f35-2jpx, CGA-68fv-2h9c-h3g2, CGA-6gv5-q867-253w, CGA-6pvg-34vv-rh9g, CGA-6rf5-xjw2-577h, CGA-7449-2fc3-49fx, CGA-763m-m9xg-qjxp, CGA-775p-hh6p-mpmx, CGA-779g-qj3w-cwf6, CGA-79qg-j85w-4r2m, CGA-7cjq-c4cm-cf5v, CGA-7gpf-5qp9-p7j2, CGA-7j8w-qf4v-q3hc, CGA-7pj9-rfm9-h9j6, CGA-7v67-82fp-m3j7, CGA-7w9v-rr2w-gx7m, CGA-863m-67mm-cxw4, CGA-89rq-rj4x-ggq2, CGA-8jmg-8j5x-2v95, CGA-8p59-q527-h98h, CGA-8qr2-pm2w-6hrj, CGA-8rv3-xcj7-7c39, CGA-947c-8mp7-6vw2, CGA-94f5-6ph6-c267, CGA-94wm-xv93-gp8v, CGA-9658-xcr2-qqhv, CGA-9785-j3rf-249q, CGA-9c7h-27v3-6w3v, CGA-9fj3-vq32-4fj6, CGA-9mc4-h37j-4cfm, CGA-9pq4-rq7p-wq54, CGA-9prx-m5x3-gm9f, CGA-c249-j8p7-xw93, CGA-c582-x7x9-r2v9, CGA-cg68-rmm6-5xmh, CGA-cqw5-gp2p-ch43, CGA-cr3x-vgx7-69f3, CGA-crr4-j36q-jxhr, CGA-cw95-f74g-8cp6, CGA-f559-v8mm-rghm, CGA-f5mg-rj5c-2w7q, CGA-f7mj-pmg7-qm55, CGA-fcxh-v84h-7g36, CGA-fgh2-rw6r-g7fh, CGA-fwvq-4wvx-wp6w, CGA-g28g-g944-w36r, CGA-g352-vxj6-qp8m, CGA-g5wg-6h55-8fxc, CGA-g677-pm6q-6fp5, CGA-g6w4-fr8c-22xh, CGA-g6wm-w8cv-76wm, CGA-g7q4-6w57-pj6c, CGA-gcxv-vcmw-4hc5, CGA-gp79-chv8-84p9, CGA-gpwg-66jq-cc54, CGA-gqh3-4gw2-28cg, CGA-h458-vc46-f686, CGA-h5c8-2rg3-3vp5, CGA-h5jh-v6cq-wpjf, CGA-h8wj-wvrp-22q4, CGA-hccc-3wpg-gjj9, CGA-hcxg-7wqm-3f6w, CGA-hg4j-cjcf-9m5g, CGA-hj64-pj5p-8936, CGA-hp5v-vwx3-57v2, CGA-hpjr-54mf-pq8m, CGA-hxc3-83vh-w3xq, CGA-j2f7-5gpg-53f4, CGA-j5c5-ffvc-v6wx, CGA-j744-x9cj-f7gg, CGA-jhhq-4jvx-h2cf, CGA-jr29-7wfw-7vxq, CGA-jwhp-9w7g-r55m, CGA-m2vm-9j3x-3x9f, CGA-m3rf-53wq-fxm3, CGA-m86g-4gpx-m4m5, CGA-m8mh-87g2-f8ff, CGA-mc4j-hw4p-cvw9, CGA-mh5j-7qf9-vfmw, CGA-mq22-c49m-v28x, CGA-mwjr-jxp5-5h56, CGA-mwp5-2qjf-mmg5, CGA-p2c2-3xwm-897c, CGA-p5fq-5h6h-g34m, CGA-p7fq-677x-w3pg, CGA-p7w9-86h9-xc7p, CGA-pfw3-7h33-fx3m, CGA-prmv-h9hh-6h7q, CGA-pw5m-22q4-jc23, CGA-q8jx-vcm9-hhxr, CGA-q8vq-r45p-mc5m, CGA-q9pv-655x-559m, CGA-qcvv-9wmp-hhj2, CGA-qwfg-563m-2625, CGA-r677-mw3j-8739, CGA-rg38-5v2p-5463, CGA-rm8m-q665-32jv, CGA-rm92-vxfw-ccvh, CGA-rqq6-4rrw-9rfj, CGA-rv9r-rw9v-gj72, CGA-rwj3-535c-wr7f, CGA-rwm2-838q-7vf4, CGA-rx62-mqxp-37h8, CGA-v482-9fq4-8m98, CGA-v558-m9qv-wcf9, CGA-v72x-f3v8-mf42, CGA-v8g7-5r3c-w979, CGA-v978-q4wm-h87j, CGA-vgm7-r973-gg6x, CGA-vwm4-mw72-xw5m, CGA-w46w-rvhr-pxf9, CGA-w48c-3pg4-jqvq, CGA-w4gv-x4j9-7mqh, CGA-w4h5-2v79-m78w, CGA-w4jh-h23m-7v27, CGA-w9wf-87g2-w2m9, CGA-wfch-pr34-487q, CGA-wfv7-69p3-w79q, CGA-wg95-mxx7-jjpx, CGA-wgjh-9x54-q999, CGA-wh94-3gjw-ph7j, CGA-wq4q-38fc-2624, CGA-wxf7-227j-48hv, CGA-wxr7-5679-678w, CGA-x22f-gcgx-3qg7, CGA-x248-mh9c-w67x, CGA-x5w9-ghxj-5c73, CGA-x637-6rhj-gj46, CGA-x76c-5c6p-2427, CGA-x8fx-2gcp-22xj, CGA-x93c-53jh-q3v9, CGA-xg2m-8rhx-4ch3, CGA-xm33-xv34-hfr9, CGA-xpr4-9phh-qwjp, CGA-xqrh-mfpw-g7qm, CGA-xwqq-gjwq-459f
- Record: https://cvemate.com/vulnerability/CVE-2026-12590 · JSON: https://cvemate.com/vulnerability/CVE-2026-12590/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.376%, percentile 33.686%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 88)

- chainguard arangodb-3.11 (Chainguard): \< 3.11.14.5-r11
- chainguard arangodb-3.12 (Chainguard): \< 3.12.11-r0
- chainguard argo-workflows-ui-3.6 (Chainguard): \< 3.6.19-r8
- chainguard argo-workflows-ui-3.7 (Chainguard): \< 3.7.17-r0
- chainguard argo-workflows-ui-4.0 (Chainguard): \< 4.0.8-r0 \| \< 4.0.11-r0
- chainguard azurite (Chainguard): \< 3.35.0-r3
- chainguard code-server (Chainguard): \< 4.130.0-r4
- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): \< 19.1.7-r3
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.9-r0
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): \< 19.3.3-r1
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded) \| \< 18.11.13-r0
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/expressjs/body-parser/security/advisories/GHSA-v422-hmwv-36x6>
- <https://cna.openjsf.org/security-advisories.html>
- <https://ubuntu.com/security/CVE-2026-12590>
- <https://www.cve.org/CVERecord?id=CVE-2026-12590>
- <https://security-tracker.debian.org/tracker/CVE-2026-12590>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12590.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12590>
- <https://github.com/expressjs/body-parser/pull/698>
- <https://github.com/expressjs/body-parser/pull/741>
- <https://github.com/expressjs/body-parser/commit/2322e111cc321413ec2b7b76d01be533d3de9d7d>
- <https://github.com/expressjs/body-parser/commit/3492672eee593d5c158f239b6e9115498a5dbeac>
- <https://github.com/expressjs/body-parser>
- <https://github.com/expressjs/body-parser/releases/tag/1.20.6>
- <https://github.com/expressjs/body-parser/releases/tag/v2.3.0>

---

Data as of 2026-12-05T06:27:15.066Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
