CRLF injection in httpc request headers

State
Published
Severity
2.1 Low
Published
Nov 24, 2026
Updated
Nov 24, 2026
Reserved
Oct 26, 2026

Read the record on cve.org

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.

ProductVersions
OTP Erlang5.10 and later Affectedfrom 9.3.2.9 Not Affectedfrom 9.6.2.5 Not Affectedfrom 9.8.2 Not Affected
OTP Erlang17.0 and later Affectedfrom 27.3.4.20 Not Affectedfrom 28.5.0.9 Not Affectedfrom 29.1.3 Not Affected
OTP Erlang84adefa331c4159d432d22840663c38f155cd4c1 to before a3197fab19232e370d940cb187fa3201b2c9bd48 Affecteda3197fab19232e370d940cb187fa3201b2c9bd48 and later Not Affected

Weaknesses

  • CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.