Home / ninenines / cowlib / CVE-2026-43966
CVE-2026-43966: is it exploited, and which versions of ninenines cowlib are affected and fixed?
CVE-2026-43966 is a HTTP response splitting vulnerability in ninenines cowlib. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: cowboy before 2.16.0 and gun before 2.4.0 (GitHub advisory GHSA-w4f7-4cxr-rv3c). Fixed in 2.16.0 and 2.4.0 (GitHub advisory GHSA-w4f7-4cxr-rv3c). Severity: Medium (6.3, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 08:24 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-43966?
HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2
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. cow_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. This issue affects cowlib: from 2.9.0 before 2.22.0.
From the CVE record by EEF, last updated November 19, 2026, 08:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ninenines | cowlib | from 2.9.0 before 2.22.0 | 2.22.0 |
| ninenines | cowlib ninenines/cowlib | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Hex | cowboy | < 2.16.0 | 2.16.0 | GHSA-w4f7-4cxr-rv3c |
| Hex | gun | < 2.4.0 | 2.4.0 | GHSA-w4f7-4cxr-rv3c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 12, 2026. Summary: cowboy and gun affected by an HTTP Request/Response Splitting vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ninenines | cowlib | from 2.9.0 before 2.16.0 | application |
NVD analysis (status Modified), last modified November 9, 2026, 16:17 UTC.
How severe is CVE-2026-43966?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | EEF |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-43966 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 8, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 27.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers
Is there a workaround? (from the CVE record)
Validate all values passed into structured-fields header builders (directly via cow_http_struct_hd:item/1 or indirectly via higher-level wrappers) before calling the encoder. Reject any value that is not from a trusted, application-controlled source or that contains CR (\r) or LF (\n) bytes. Applications using cowboy 2.16.0 or later are protected on the server side by the invalid_response_headers option (defaults to error_terminate), which rejects any outgoing response header value containing CR or LF before it reaches the wire. Applications using gun 2.4.0 or later are protected on the client side by the invalid_request_headers request option (defaults to raise), which raises an exception when an outgoing request header value contains CR or LF.
Where are the vendor advisories and references?
- cowboy: Add invalid_response_headers HTTP/1 option mitigation
- EEF CNA record for CVE-2026-43966 related, third-party-advisory
- OSV record EEF-CVE-2026-43966 related
- gun: Add invalid_request_headers request option mitigation
- Introducing commit a8b793d in ninenines/cowlib related
- Fix commit 4401b85 in ninenines/cowlib patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (coordinator)
- Loïc Hoguin (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 4, 2026
- Published
- June 8, 2026, 16:34 UTC
- CVE record updated
- November 19, 2026, 08:18 UTC by EEF
- NVD
- Modified, last modified November 9, 2026, 16:17 UTC
- Last checked
- CVE list November 19, 2026, 08:24 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect cowlib?
- Nov 6, 2026CVE-2026-113431 ninenines cowlib: denial of service (resources allocated without limits)
- Aug 18, 2026CVE-2026-43971 ninenines cowlib: improper output encoding
- Jul 28, 2026CVE-2026-59248 ninenines cowlib: denial of service (resources allocated without limits)
- May 13, 2026CVE-2026-43970 ninenines cowlib: improper Handling of Highly Compressed Data (Data Amplification)
- May 11, 2026CVE-2026-43968 ninenines cowlib: improper Neutralization of CRLF Sequences
- May 11, 2026CVE-2026-7790 ninenines cowlib: denial of service (uncontrolled resource consumption)
- May 11, 2026CVE-2026-43969 ninenines cowlib: improper Neutralization of CRLF Sequences
Questions about CVE-2026-43966
Is CVE-2026-43966 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ninenines cowlib are affected by CVE-2026-43966?
cowboy before 2.16.0 and gun before 2.4.0, per the GitHub advisory GHSA-w4f7-4cxr-rv3c. The tables above give every range the sources list.
Which version fixes CVE-2026-43966?
2.16.0 and 2.4.0, per the GitHub advisory GHSA-w4f7-4cxr-rv3c. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-43966?
Medium (6.3, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-43966?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.