CVE-2026-116295

CRLF injection in httpc request headers

Published Nov 24, 2026 CVSS 4.0 · 2.1 Low EPSS n/a KEV · Not listed
Description
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 http_request:mk_key_value_str/2, and with the headers_as_is option httpc_request:http_headers/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 uri_string 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.

Analysis

No analysis available yet

Remediation

Vendor Workaround

Validate request header names and values before you pass them to httpc:request/4,5. Reject or replace any name or value that contains CR (\r), LF (\n) or NUL (\0), and accept only header names made of RFC 9110 token characters. Where the application forwards headers from another source, use a fixed allowlist of header names.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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 http_request:mk_key_value_str/2, and with the headers_as_is option httpc_request:http_headers/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 uri_string 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.
Title CRLF injection in httpc request headers
First Time appeared Erlang
Erlang erlang\/otp
Weaknesses CWE-113
CPEs cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
Vendors & Products Erlang
Erlang erlang\/otp
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-113

    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')

Sources

Status
PUBLISHED
Assigner
EEF
Published
Updated
Nov 24, 2026, 3:05 PM
Reserved
Oct 26, 2026, 5:15 PM
Status
Received
Published
Nov 24, 2026, 3:17 PM
Modified
Nov 24, 2026, 3:17 PM