CVEMETERBack to radar
OFFICIAL RECORD · Node.js

CVE-2018-7159

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.3 · medium

Node.js · CVE-2018-7159

The HTTP parser in all current versions of Node.js ignores spaces in the `Content-Length` header, allowing input such as `Content-Length: 1 2` to be interpreted as having a value of `12`. The HTTP specification does not allow for spaces in the `Content-Length` value and the Node.js HTTP parser has been brought into line on this particular difference. The security risk of this flaw to Node.js users is considered to be VERY LOW as it is difficult, and may be impossible, to craft an attack that makes use of this flaw in a way that could not already be achieved by supplying an incorrect value for `Content-Length`. Vulnerabilities may exist in user-code that make incorrect assumptions about the potential accuracy of this value compared to the actual length of the data supplied. Node.js users crafting lower-level HTTP utilities are advised to re-check the length of any input supplied after parsing is complete.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 3.542% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.3 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T10:05:58.109Z

CVSS 2.0 · 5 · published by [email protected]
AV:N/AC:L/Au:N/C:N/I:P/A:N
Assessment source · checked 2026-11-19T10:05:58.109Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:55:09.885ZCISA KEV
cvssverified2026-11-19T10:05:58.109ZNVD
epssverified2026-11-19T16:04:25.255ZFIRST EPSS
patchesunknownunknownunknown
affectedverified2026-11-19T10:45:28.330ZCVE Program
lifecycleverified2026-11-19T10:45:28.330ZCVE Program

Affected versions and configuration

The Node.js Project Node.js; default status: unknown: 4.x [affected; scheme: unspecified]; 6.x [affected; scheme: unspecified]; 8.x [affected; scheme: unspecified]; 9.x [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "The Node.js Project",
      "product": "Node.js",
      "versions": [
        {
          "status": "affected",
          "version": "4.x"
        },
        {
          "status": "affected",
          "version": "6.x"
        },
        {
          "status": "affected",
          "version": "8.x"
        },
        {
          "status": "affected",
          "version": "9.x"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2019:2258",
          "name": "RHSA-2019:2258",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT",
            "x_transferred"
          ]
        },
        {
          "url": "https://support.f5.com/csp/article/K27228191?utm_source=f5support&amp%3Butm_medium=RSS",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-05T06:24:10.511Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2018-7159",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-08T21:07:47.854540Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-08T21:13:54.303Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A47FC4F7-1F77-4314-B4B3-3C5D8E335379",
            "versionEndIncluding": "4.1.2",
            "versionStartIncluding": "4.0.0"
          },
          {
            "criteria": "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "CC30BAD0-79DE-4FE9-982D-7252E668442F",
            "versionEndExcluding": "4.9.0",
            "versionStartIncluding": "4.2.0"
          },
          {
            "criteria": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "D107EC29-67E7-40C3-8E5A-324C9105C5E4",
            "versionEndIncluding": "6.8.1",
            "versionStartIncluding": "6.0.0"
          },
          {
            "criteria": "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "B6855CC9-21A0-4C1B-8C27-A15FA0D7244F",
            "versionEndExcluding": "6.14.0",
            "versionStartIncluding": "6.9.0"
          },
          {
            "criteria": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "74FB695D-2C76-47AB-988E-5629D2E695E5",
            "versionEndIncluding": "8.8.1",
            "versionStartIncluding": "8.0.0"
          },
          {
            "criteria": "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A6E7AD1F-26AA-4CBA-9162-7DFC0B09E620",
            "versionEndExcluding": "8.11.0",
            "versionStartIncluding": "8.9.0"
          },
          {
            "criteria": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "8FC117F5-0B41-49F5-83DF-B830DEE95404",
            "versionEndExcluding": "9.10.0",
            "versionStartIncluding": "9.0.0"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history