CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.32% in 30 days
higher than 27% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
nineninescowlibfrom 2.9.0 before 2.22.02.22.0
nineninescowlib ninenines/cowlibnot 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?

EcosystemPackageAffectedFixed inAdvisory
Hexcowboy< 2.16.02.16.0GHSA-w4f7-4cxr-rv3c
Hexgun< 2.4.02.4.0GHSA-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?

VendorProductVersionsType
nineninescowlibfrom 2.9.0 before 2.16.0application

NVD analysis (status Modified), last modified November 9, 2026, 16:17 UTC.

How severe is CVE-2026-43966?

ScoreVersionVectorSource
Medium 6.3CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:NEEF
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD

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?

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?

Who found and reported it?

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?

Every CVE in cowlib

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.