CVE-2026-116295CRLF injection in httpc request headers
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang | Under investigation | ||
| Ubuntu 24.04 | erlang | Under investigation | ||
| Ubuntu 22.04 | erlang | Under investigation | ||
| Debian 14 | erlang | Fix pending | DEBIAN-CVE-2026-116295 | |
| Debian 13 | erlang | Fix pending | DEBIAN-CVE-2026-116295 | |
| Debian 12 | erlang | Fix pending | DEBIAN-CVE-2026-116295 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 5.10 and later; fixed in
9.3.2.9,9.6.2.5,9.8.2 - Erlang OTP: affected: 17.0 and later; fixed in
27.3.4.20,28.5.0.9,29.1.3 - Erlang OTP: affected: 84adefa331c4159d432d22840663c38f155cd4c1 to before a3197fab19232e370d940cb187fa3201b2c9bd48
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.
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-84cc-vh37-jqpf (vendor-advisory)
- https://github.com/erlang/otp/commit/a3197fab19232e370d940cb187fa3201b2c9bd48 (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-84cc-vh37-jqpf
- https://cna.erlef.org/cves/CVE-2026-116295.html
- https://osv.dev/vulnerability/EEF-CVE-2026-116295
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/a3197fab19232e370d940cb187fa3201b2c9bd48
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.