CVEBrief

Home / The Node.js Project / Node.js / CVE-2018-7159

CVE-2018-7159: is it exploited, and which versions of The Node.js Project Node.js are affected and fixed?

CVE-2018-7159 is a misinterpretation of Input vulnerability in The Node.js Project Node.js. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: Node.js 4.x, Node.js 6.x, Node.js 8.x and 1 more (CVE record by nodejs). Fixed in 4.9.0, 6.14.0, 8.11.0 and 9.10.0 (NVD). Severity: Medium (5.3, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:32 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 07:08 UTC
Affected
Node.js 4.x, Node.js 6.x, Node.js 8.x and 1 more
CVE record by nodejs
Fixed in
4.9.0, 6.14.0, 8.11.0 and 9.10.0
NVD
Severity
Medium 5.3
CVSS 3.1 from NVD
Exploit odds (EPSS)
3.54% in 30 days
higher than 90% of CVEs; FIRST, December 2, 2026

What is 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.

From the CVE record by nodejs, last updated October 8, 2026, 21:13 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
The Node.js ProjectNode.js4.x
6.x
8.x
9.x

As the CVE record by nodejs states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
nodejsnode.jsfrom 4.0.0 through 4.1.2application
nodejsnode.jsfrom 4.2.0 before 4.9.0application
nodejsnode.jsfrom 6.0.0 through 6.8.1application
nodejsnode.jsfrom 6.9.0 before 6.14.0application
nodejsnode.jsfrom 8.0.0 through 8.8.1application
nodejsnode.jsfrom 8.9.0 before 8.11.0application
nodejsnode.jsfrom 9.0.0 before 9.10.0application

NVD analysis (status Modified), last modified October 8, 2026, 22:16 UTC.

How severe is CVE-2018-7159?

ScoreVersionVectorSource
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD
Medium 5.0CVSS 2.0AV:N/AC:L/Au:N/C:N/I:P/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2018-7159 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 8, 2026)
EPSS
3.54% probability of exploitation activity in the next 30 days, percentile 89.6 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 15, 2018
Published
May 17, 2018, 14:00 UTC
CVE record updated
October 8, 2026, 21:13 UTC by nodejs
NVD
Modified, last modified October 8, 2026, 22:16 UTC
Last checked
CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:32 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Node.js?

Every CVE in Node.js

Questions about CVE-2018-7159

Is CVE-2018-7159 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 3.54% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of The Node.js Project Node.js are affected by CVE-2018-7159?

Node.js 4.x, Node.js 6.x, Node.js 8.x and Node.js 9.x, per the CVE record by nodejs. The tables above give every range the sources list.

Which version fixes CVE-2018-7159?

4.9.0, 6.14.0, 8.11.0 and 9.10.0, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2018-7159?

Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2018-7159?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.