CVE-2026-23941Request smuggling via first-wins Content-Length parsing in inets httpd
Description
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') vulnerability in Erlang OTP (inets httpd module) allows HTTP Request Smuggling. This vulnerability is associated with program files lib/inets/src/http_server/httpd_request.erl and program routines httpd_request:parse_headers/7. The server does not reject or normalize duplicate Content-Length headers. The earliest Content-Length in the request is used for body parsing while common reverse proxies (nginx, Apache httpd, Envoy) honor the last Content-Length value. This violates RFC 9112 Section 6.3 and allows front-end/back-end desynchronization, leaving attacker-controlled bytes queued as the start of the next request. This issue affects OTP from OTP 17.0 before OTP 26.2.5.18, OTP 27.3.4.9, and OTP 28.4.1, corresponding to inets from 5.10 before 9.1.0.5, 9.3.2.3, and 9.6.1. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| erlang | erlang/inets | 5.10 – < 9.1.0.5 | |
| erlang | erlang/otp | < 26.2.5.18 | |
| Erlang | OTP | 17.0 |
References and patches
- Request smuggling via first-wins Content-Length parsing in inets httpd vendor-advisoryVendor Advisory
- EEF CNA record for CVE-2026-23941 Vendor Advisory
- OSV record EEF-CVE-2026-23941 Third Party Advisory
- Erlang/OTP version ordering Product
- Fix commit e775a33 in erlang/otp patchPatch
- Fix commit a761d39 in erlang/otp patchPatch
- Fix commit a4b4633 in erlang/otp patchPatch
CPE matches (NVD) (6)
cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:*≥ 5.10 < 9.1.0.5cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:*≥ 9.3 < 9.3.2.3cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:*≥ 9.6 < 9.6.1cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 17.0 < 26.2.5.18cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 27.0 < 27.3.4.9cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 28.0 < 28.4.1