Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

UBUNTU-CVE-2026-12590

0
Medium
Published: 07/09/2026 (07/09/2026, 11:16:00 UTC)
Source: GCVE Database
Product: node-body-parser

Description

A vulnerability in node-body-parser versions prior to 1.20.6 (1.x line) and 2.3.0 (2.x line) allows bypassing the request body size limit when configured with an invalid limit value. This causes the parser to skip size checks silently, potentially leading to excessive memory and CPU usage and denial of service. The issue is fixed in versions 1.20.6 and 2.3.0, where invalid limit values cause an error at parser construction. Users should validate limit values before use to mitigate risk.

CVSS v3.1

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
node-body-parser
pkg:deb/ubuntu/[email protected]?arch=source&distro=xenial
Affected versions
=1.8.1-1
Ubuntu:18.04:LTSmore threats →ghsa
node-body-parser
pkg:deb/ubuntu/[email protected]?arch=source&distro=bionic
Affected versions
=1.8.1-1=1.8.1-1ubuntu1
Ubuntu:20.04:LTSmore threats →ghsa
node-body-parser
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
=1.18.3-2=1.19.0-2
Ubuntu:22.04:LTSmore threats →ghsa
node-body-parser
pkg:deb/ubuntu/[email protected]+~1.19.2-1?arch=source&distro=jammy
Affected versions
=1.19.0-2=1.19.0-5=1.19.1+~1.19.2-1=1.19.2+~1.19.2-1
Ubuntu:24.04:LTSmore threats →ghsa
node-body-parser
pkg:deb/ubuntu/[email protected]+~1.19.5-1build2?arch=source&distro=noble
Affected versions
=1.20.1+~1.19.2-1=1.20.2+~1.19.5-1=1.20.2+~1.19.5-1build2
Ubuntu:25.10more threats →ghsa
node-body-parser
pkg:deb/ubuntu/[email protected]+~1.19.5-3?arch=source&distro=questing
Affected versions
=1.20.3+~1.19.5-3
Ubuntu:26.04:LTSmore threats →ghsa
node-body-parser
pkg:deb/ubuntu/[email protected]+~1.19.6-1?arch=source&distro=resolute
Affected versions
=1.20.3+~1.19.5-3=2.2.0+~1.19.6-1=2.2.2+~1.19.6-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 14:02:43 UTC

Technical Analysis

In node-body-parser versions before 1.20.6 (1.x) and 2.3.0 (2.x), if the parser is configured with an invalid limit option (e.g., unparseable string or NaN), the internal bytes.parse function returns null, causing the request body size check to be skipped silently. This allows applications relying on the limit option to accept arbitrarily large payloads, resulting in excessive resource consumption and potential denial of service. The vulnerability is addressed in body-parser 1.20.6 and 2.3.0 by throwing an error on invalid limit values during parser construction, while null or undefined limits fall back to the default 100kb. A workaround is to validate the limit value before passing it to body-parser.

Potential Impact

Applications using affected versions of node-body-parser with an invalid limit configuration may accept arbitrarily large HTTP request bodies, leading to excessive memory and CPU usage and denial of service conditions. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

This vulnerability is fixed in node-body-parser versions 1.20.6 and 2.3.0. Users should upgrade to these or later versions. Additionally, validate the limit option value before passing it to body-parser to ensure it is parseable and finite. Invalid limit values should be rejected at application startup to prevent silent bypass of size checks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-12590
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a58b4f968715ace43db21fe

Added to database: 07/16/2026, 10:39:53 UTC

Last enriched: 07/16/2026, 14:02:43 UTC

Last updated: 07/16/2026, 14:02:43 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses