CVE-2026-43966
HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/2
Check your servers for CVE-2026-43966
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-43966 affects cowlib, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity low, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 8 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
cowlib
package
cowlib |
affected from 2.9.0, before 2.22.0
Other versions: unaffected
|
|
cowlib
package
ninenines/cowlib |
affected from a8b793db3d6ffe91d62f81baf41b1dab4cd78fb6, before 4401b858f2229abb3ea115c60924f6c77e5f8aa3
Other versions: unaffected
|
Is my server affected?
Find the installed version of cowlib and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i cowlib
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-43966 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-43966RHEL, Rocky, Alma, Fedora
rpm -q cowlib
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-43966Alpine
apk list --installed | grep -i cowlibWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-43966
trivy image --scanners vuln IMAGE | grep CVE-2026-43966
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- cowboy: Add invalid_response_headers HTTP/1 option github.com · mitigation
- EEF CNA record for CVE-2026-43966 cna.erlef.org · related, third party advisory
- gun: Add invalid_request_headers request option github.com · mitigation
Patches and release notes
- Fix commit 4401b85 in ninenines/cowlib github.com · patch
Other references
- OSV record EEF-CVE-2026-43966 osv.dev · related
- Introducing commit a8b793d in ninenines/cowlib github.com · related
Source: the record CVE-2026-43966 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse