AZL-116105: CVE-2026-116295 affecting package erlang 26.2.5.21-8
Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in Erlang OTP inets (httpc module) allows HTTP Request Splitting.
httpc writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path httprequest:mkkeyvaluestr/2, and with the headersasis option httpcrequest:httpheaders/2, build each header line by plain concatenation of the name, ": ", the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to httpc:request/4,5 can add or override request headers, or append a second request on the same connection.
Applications that pass only constant or validated header names and values are not affected. The request line is not affected, because uristring rejects URLs that contain raw CR/LF.
This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker must be able to control data that the application places in a request header name or value passed to httpc:request/4 or httpc:request/5. The injected data must contain CR, LF, or NUL characters; CR/LF can terminate a header early and allow added or overridden headers or a second request on the same connection.
Are applications using httpc affected by default?
The vulnerable header construction is used on the default path, http_request:mk_key_value_str/2. The headers_as_is option is also affected through httpc_request:http_headers/2, but applications that use only constant or validated header names and values are not affected.
Can this be exploited through the request URL?
No. The request line is not affected because uri_string rejects URLs containing raw CR/LF characters.
Which OTP and inets releases are affected?
Affected OTP versions are 17.0 through before 27.3.4.20, 28.5.0.9, and 29.1.3. The corresponding affected inets ranges are 5.10 through before 9.3.2.9, 9.6.2.5, and 9.8.2; the status of OTP before 17.0 and inets before 5.10 is unknown.