DEBIAN-CVE-2026-12590

Source
https://security-tracker.debian.org/tracker/CVE-2026-12590
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12590.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-12590
Upstream
Published
2026-07-09T11:16:24Z
Modified
2026-09-01T16:06:27Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / node-body-parser

Package

Name
node-body-parser
Purl
pkg:deb/debian/node-body-parser?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.20.1+~1.19.2-1
1.20.2+~1.19.5-1
1.20.3+~1.19.5-1
1.20.3+~1.19.5-2
1.20.3+~1.19.5-3
2.*
2.2.0+~1.19.6-1
2.2.0+~1.19.6-2
2.2.0+~1.19.6-3
2.2.1+~1.19.6-1
2.2.2+~1.19.6-1
2.3.0+~1.19.6-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12590.json"

Debian:13 / node-body-parser

Package

Name
node-body-parser
Purl
pkg:deb/debian/node-body-parser?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.20.3+~1.19.5-3
2.*
2.2.0+~1.19.6-1
2.2.0+~1.19.6-2
2.2.0+~1.19.6-3
2.2.1+~1.19.6-1
2.2.2+~1.19.6-1
2.3.0+~1.19.6-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12590.json"

Debian:14 / node-body-parser

Package

Name
node-body-parser
Purl
pkg:deb/debian/node-body-parser?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.3.0+~1.19.6-1

Affected versions

1.*
1.20.3+~1.19.5-3
2.*
2.2.0+~1.19.6-1
2.2.0+~1.19.6-2
2.2.0+~1.19.6-3
2.2.1+~1.19.6-1
2.2.2+~1.19.6-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12590.json"