{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-43966","id":"CVE-2026-43966","title":"HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2","description":"Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values.\n\ncow_http_struct_hd:escape_string/2 in cowlib only escapes \\ and \", passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only","descriptionLong":"Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in ninenines cowlib allows HTTP response splitting via non-VCHAR bytes in structured-fields string values.\n\ncow_http_struct_hd:escape_string/2 in cowlib only escapes \\ and \", passing all other bytes through verbatim. This creates an encoder/decoder asymmetry: the matching parser accepts only printable ASCII (0x20–0x7E, excluding \" and \\), but the encoder emits any byte including CR and LF. An application that builds a structured HTTP header via cow_http_struct_hd:item/1 (or a higher-level wrapper such as cow_http_hd:wt_protocol/1) from attacker-controlled input can have \\r\\n injected into the serialized header value. Once on the wire, the injected CRLF terminates the current header and any following bytes are interpreted as a new header, enabling HTTP response splitting.\n\nThis issue affects cowlib: from 2.9.0 before 2.22.0.","published":"2026-06-08T16:34:33.364Z","updated":"2026-11-19T09:45:22.895680909Z","reserved":"2026-05-04T18:23:25.573Z","status":"Modified","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","rating":"medium","source":"EEF"},{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["ninenines cowlib"],"affectedProducts":[{"vendor":"ninenines","product":"cowlib","defaultStatus":"unaffected","versions":[{"lessThan":"2.22.0","status":"affected","version":"2.9.0","versionType":"semver"}],"platforms":[]},{"vendor":"ninenines","product":"cowlib","defaultStatus":"unaffected","versions":[{"lessThan":"4401b858f2229abb3ea115c60924f6c77e5f8aa3","status":"affected","version":"a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6","versionType":"git"}],"platforms":[]}],"packages":[{"ecosystem":"Hex","name":"cowboy","purl":"pkg:hex/cowboy","ranges":["<2.16.0"],"fixed":["2.16.0"],"advisory":"GHSA-w4f7-4cxr-rv3c"},{"ecosystem":"Hex","name":"gun","purl":"pkg:hex/gun","ranges":["<2.4.0"],"fixed":["2.4.0"],"advisory":"GHSA-w4f7-4cxr-rv3c"}],"cwes":["CWE-113"],"aliases":["EEF-CVE-2026-43966","GHSA-w4f7-4cxr-rv3c"],"references":[{"url":"https://github.com/ninenines/cowboy/commit/f77cb9b5e730e300fffb551db1ba5d1c4ed878ef","tags":["mitigation","Patch","fix","web"]},{"url":"https://cna.erlef.org/cves/CVE-2026-43966.html","tags":["related","third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-43966","tags":["related","Third Party Advisory","web"]},{"url":"https://github.com/ninenines/gun/commit/4f35609eb37109b106a863fc9ba83d7ee64e3e42","tags":["mitigation","Patch","fix","web"]},{"url":"https://github.com/ninenines/cowlib/commit/a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6","tags":["related","fix","web"]},{"url":"https://github.com/ninenines/cowlib/commit/4401b858f2229abb3ea115c60924f6c77e5f8aa3","tags":["patch","fix","web"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43966.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43966","tags":["advisory"]},{"url":"https://github.com/ninenines/cowlib","tags":["package"]},{"url":"https://github.com/ninenines/cowlib/pull/163#issuecomment-4952645232","tags":["web"]},{"url":"https://github.com/ninenines/cowlib/pull/166#issuecomment-5067554701","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00259,"epssPercentile":0.17768,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-43966","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43966","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-43966","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w4f7-4cxr-rv3c","ok":true,"note":"GHSA-w4f7-4cxr-rv3c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-43966","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}