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`. 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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | node-undici | Fixed | 7.15.0+dfsg+~cs3.2.0-1 | DEBIAN-CVE-2025-23167 |
| Debian 13 | node-undici | Fix pending | DEBIAN-CVE-2025-23167 | |
| Debian 12 | node-undici | Fix pending | DEBIAN-CVE-2025-23167 | |
| Red Hat Enterprise Linux 10 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:20.19.2-1.module+el9.6.0+23146+be9976bd | RHSA-2025:8468 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:20.19.2-1.module+el9.6.0+23146+be9976bd | RHSA-2025:8468 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:20.19.2-1.module+el9.6.0+23146+be9976bd | RHSA-2025:8468 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:20.19.2-1.module+el9.6.0+23146+be9976bd | RHSA-2025:8468 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.6.0+23146+be9976bd | RHSA-2025:8468 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.6.0+23146+be9976bd | RHSA-2025:8468 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el9.6.0+23146+be9976bd | RHSA-2025:8468 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:10.8.2-1.20.19.2.1.module+el9.6.0+23146+be9976bd | RHSA-2025:8468 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:2021.06-4.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:10.8.2-1.20.19.2.1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Not affected | ||
| AlmaLinux 8 | nodejs | Fixed | 1:20.19.2-1.module_el8.10.0+4007+01f7d99b | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:20.19.2-1.module_el8.10.0+4007+01f7d99b | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:20.19.2-1.module_el8.10.0+4007+01f7d99b | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:20.19.2-1.module_el8.10.0+4007+01f7d99b | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.1-1.module_el8.10.0+3982+85c136aa | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-4.module_el8.10.0+3987+dbda4426 | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el8.10.0+3958+472a6467 | ALSA-2025:8514 |
| AlmaLinux 8 | npm | Fixed | 1:10.8.2-1.20.19.2.1.module_el8.10.0+4007+01f7d99b | ALSA-2025:8514 |
| Rocky Linux 9 | nodejs | Fixed | 1:20.19.2-1.module+el9.6.0+32143+ae966e5b | RLSA-2025:8468 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.6.0+32185+bd121a25 | RLSA-2025:8468 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.6.0+32322+a8b1fd01 | RLSA-2025:8468 |
| Rocky Linux 8 | nodejs | Fixed | 1:20.19.2-1.module+el8.10.0+1988+437f3d23 | RLSA-2025:8514 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.10.0+1935+d3cbe60f | RLSA-2025:8514 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-4.module+el8.10.0+1824+532140ee | RLSA-2025:8514 |
What the vendor says
As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- nodejs node: affected: 4.0 to before 4.*, 5.0 to before 5.*, 6.0 to before 6.*, 7.0 to before 7.*, 8.0 to before 8.*, 9.0 to before 9.*
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.