{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","modules":["http_request","httpc_request","httpc"],"packageName":"inets","packageURL":"pkg:otp/inets?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git","product":"OTP","programFiles":["src/http_lib/http_request.erl","src/http_client/httpc_request.erl","src/http_client/httpc.erl"],"programRoutines":[{"name":"http_request:http_headers/1"},{"name":"http_request:mk_key_value_str/2"},{"name":"httpc_request:http_headers/2"},{"name":"httpc:request/4"},{"name":"httpc:request/5"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"changes":[{"at":"9.3.2.9","status":"unaffected"},{"at":"9.6.2.5","status":"unaffected"},{"at":"9.8.2","status":"unaffected"}],"lessThan":"*","status":"affected","version":"5.10","versionType":"otp"}]},{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","modules":["http_request","httpc_request","httpc"],"packageName":"otp","packageURL":"pkg:software-id/erlang.org/otp","product":"OTP","programFiles":["lib/inets/src/http_lib/http_request.erl","lib/inets/src/http_client/httpc_request.erl","lib/inets/src/http_client/httpc.erl"],"programRoutines":[{"name":"http_request:http_headers/1"},{"name":"http_request:mk_key_value_str/2"},{"name":"httpc_request:http_headers/2"},{"name":"httpc:request/4"},{"name":"httpc:request/5"}],"vendor":"Erlang","versions":[{"changes":[{"at":"27.3.4.20","status":"unaffected"},{"at":"28.5.0.9","status":"unaffected"},{"at":"29.1.3","status":"unaffected"}],"lessThan":"*","status":"affected","version":"17.0","versionType":"otp"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","modules":["http_request","httpc_request","httpc"],"packageName":"erlang/otp","packageURL":"pkg:github/erlang/otp","product":"OTP","programFiles":["lib/inets/src/http_lib/http_request.erl","lib/inets/src/http_client/httpc_request.erl","lib/inets/src/http_client/httpc.erl"],"programRoutines":[{"name":"http_request:http_headers/1"},{"name":"http_request:mk_key_value_str/2"},{"name":"httpc_request:http_headers/2"},{"name":"httpc:request/4"},{"name":"httpc:request/5"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"lessThan":"a3197fab19232e370d940cb187fa3201b2c9bd48","status":"affected","version":"84adefa331c4159d432d22840663c38f155cd4c1","versionType":"git"},{"lessThan":"*","status":"unaffected","version":"a3197fab19232e370d940cb187fa3201b2c9bd48","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"27.3.4.20","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"28.5.0.9","versionStartIncluding":"28.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"29.1.3","versionStartIncluding":"29.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Lukas Backström"},{"lang":"en","type":"finder","value":"ts-klassen"},{"lang":"en","type":"reporter","value":"ts-klassen"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"dateAssigned":"2026-10-29T15:51:17.000Z","datePublic":"2026-11-24T15:05:04.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in Erlang OTP inets (<code>httpc</code> module) allows HTTP Request Splitting.</p>\n<p><code>httpc</code> writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path <code>http_request:mk_key_value_str/2</code>, and with the <code>headers_as_is</code> option <code>httpc_request:http_headers/2</code>, build each header line by plain concatenation of the name, <code>\": \"</code>, 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 <code>httpc:request/4,5</code> can add or override request headers, or append a second request on the same connection.</p>\n<p>Applications that pass only constant or validated header names and values are not affected. The request line is not affected, because <code>uri_string</code> rejects URLs that contain raw CR/LF.</p>\n<p>This issue affects OTP from OTP&nbsp;17.0 before OTP&nbsp;27.3.4.20, OTP&nbsp;28.5.0.9, and OTP&nbsp;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&nbsp;17.0, corresponding to inets before 5.10, is affected is unknown.</p>"},{"base64":false,"type":"text/markdown","value":"Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in Erlang OTP inets (`httpc` module) allows HTTP Request Splitting.\n\n`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.\n\nApplications 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.\n\nThis 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."}],"value":"Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in Erlang OTP inets (httpc module) allows HTTP Request Splitting.\n\nhttpc 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.\n\nApplications 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.\n\nThis 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."}],"impacts":[{"capecId":"CAPEC-105","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>An attacker who controls data in a request header can add or override headers such as <code>Authorization</code>, <code>Cookie</code>, <code>Host</code> or <code>X-Forwarded-For</code>, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened.</p>"},{"base64":false,"type":"text/markdown","value":"An attacker who controls data in a request header can add or override headers such as `Authorization`, `Cookie`, `Host` or `X-Forwarded-For`, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened."}],"value":"An attacker who controls data in a request header can add or override headers such as Authorization, Cookie, Host or X-Forwarded-For, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-113","description":"CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-24T15:05:06.420Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"CRLF injection in httpc request headers","tags":["vendor-advisory","related"],"url":"https://github.com/erlang/otp/security/advisories/GHSA-84cc-vh37-jqpf"},{"name":"EEF CNA record for CVE-2026-116295","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-116295.html"},{"name":"OSV record EEF-CVE-2026-116295","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-116295"},{"name":"Erlang/OTP version ordering","tags":["x_version-scheme"],"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"name":"Fix commit a3197fa in erlang/otp","tags":["patch"],"url":"https://github.com/erlang/otp/commit/a3197fab19232e370d940cb187fa3201b2c9bd48"}],"source":{"discovery":"EXTERNAL"},"title":"CRLF injection in httpc request headers","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Validate request header names and values before you pass them to <code>httpc:request/4,5</code>. Reject or replace any name or value that contains CR (<code>\\r</code>), LF (<code>\\n</code>) or NUL (<code>\\0</code>), and accept only header names made of RFC 9110 <code>token</code> characters. Where the application forwards headers from another source, use a fixed allowlist of header names.</p>"},{"base64":false,"type":"text/markdown","value":"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."}],"value":"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."}],"x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ol>\n<li>Start a TCP listener that prints the bytes it receives, for example on <code>localhost:4444</code>.</li>\n<li>Call <code>httpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], [])</code>.</li>\n<li>The listener receives three header lines (<code>a: b</code>, <code>c: d</code>, <code>e: f</code>) instead of one.</li>\n<li>Repeat with <code>[{headers_as_is, true}]</code> as the fourth argument and an explicit <code>host</code> header. The same three lines arrive.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"1. Start a TCP listener that prints the bytes it receives, for example on `localhost:4444`.\n2. Call `httpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], [])`.\n3. The listener receives three header lines (`a: b`, `c: d`, `e: f`) instead of one.\n4. Repeat with `[{headers_as_is, true}]` as the fourth argument and an explicit `host` header. The same three lines arrive."}],"value":"* Start a TCP listener that prints the bytes it receives, for example on localhost:4444.\n* Call httpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], []).\n* The listener receives three header lines (a: b, c: d, e: f) instead of one.\n* Repeat with [{headers_as_is, true}] as the fourth argument and an explicit host header. The same three lines arrive."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-116295","datePublished":"2026-11-24T15:05:06.420Z","dateReserved":"2026-10-26T17:15:01.940Z","dateUpdated":"2026-11-24T15:05:06.420Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}