# CVE-2025-23167: A flaw in Node.js 20's HTTP parser allows improper termination of HTTP/1 headers using \r\n\rX instead of the required \r\n\r\n.

- Severity: Medium 6.5 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2025-05-19T01:25:08.454Z
- Modified: 2026-06-17T08:52:18.947Z
- Also known as: BIT-NODE-2025-23167, BIT-NODE-MIN-2025-23167
- Weaknesses: CWE-444
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: hackerone

## Description

A flaw in Node.js 20's HTTP parser allows improper termination of HTTP/1 headers using `\r\n\rX` instead of the required `\r\n\r\n`.
This inconsistency enables request smuggling, allowing attackers to bypass proxy-based access controls and submit unauthorized requests.

The issue was resolved by upgrading `llhttp` to version 9, which enforces correct header termination.

Impact:
* This vulnerability affects only Node.js 20.x users prior to the `llhttp` v9 upgrade.

(As written by CVE List.)

## Affected

- nodejs node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.*; from 13.0 before 13.*; from 14.0 before 14.*; from 15.0 before 15.*; and 5 more
- node (Bitnami): before 20.19.2
- node-min (Bitnami): before 20.19.2

## Every score

- hackerone: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://nodejs.org/en/blog/vulnerability/may-2025-security-releases> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-23167> (web)

## Sources

- CVE List: [CVE-2025-23167](https://www.cve.org/CVERecord?id=CVE-2025-23167), CVE Terms of Use, modified 2025-05-27
- NVD: [CVE-2025-23167](https://nvd.nist.gov/vuln/detail/CVE-2025-23167), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2025-23167](https://osv.dev/vulnerability/BIT-NODE-2025-23167), Apache-2.0, modified 2025-05-21
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2025-23167](https://osv.dev/vulnerability/BIT-NODE-MIN-2025-23167), Apache-2.0, modified 2025-05-21

---

Page: https://cve.day/CVE-2025-23167 · Whole record: https://cve.day/CVE-2025-23167.json · Rebuilt by cve.day 2026-11-25T22:58:58.198Z
