UBUNTU-CVE-2026-12590

Source
https://ubuntu.com/security/CVE-2026-12590
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12590.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-12590
Upstream
Published
2026-07-09T11:16:00Z
Modified
2026-07-15T17:48:12Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 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
  • Ubuntu - medium
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

Ubuntu:16.04:LTS
node-body-parser

Package

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

Affected ranges

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

Affected versions

1.*
1.8.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-body-parser",
            "binary_version": "1.8.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12590.json"
Ubuntu:18.04:LTS
node-body-parser

Package

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

Affected ranges

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

Affected versions

1.*
1.8.1-1
1.8.1-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-body-parser",
            "binary_version": "1.8.1-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12590.json"
Ubuntu:20.04:LTS
node-body-parser

Package

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

Affected ranges

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

Affected versions

1.*
1.18.3-2
1.19.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-body-parser",
            "binary_version": "1.19.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12590.json"
Ubuntu:22.04:LTS
node-body-parser

Package

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

Affected ranges

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

Affected versions

1.*
1.19.0-2
1.19.0-5
1.19.1+~1.19.2-1
1.19.2+~1.19.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-body-parser",
            "binary_version": "1.19.2+~1.19.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12590.json"
Ubuntu:24.04:LTS
node-body-parser

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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.2+~1.19.5-1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-body-parser",
            "binary_version": "1.20.2+~1.19.5-1build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12590.json"
Ubuntu:25.10
node-body-parser

Package

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

Affected ranges

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

Affected versions

1.*
1.20.3+~1.19.5-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-body-parser",
            "binary_version": "1.20.3+~1.19.5-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12590.json"
Ubuntu:26.04:LTS
node-body-parser

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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.2+~1.19.6-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-body-parser",
            "binary_version": "2.2.2+~1.19.6-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12590.json"