Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 76%

CVE-2026-43966: CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') in ninenines cowlib

0
Medium
VulnerabilityCVE-2026-43966cvecve-2026-43966cwe-113
Published: 06/08/2026 (06/08/2026, 16:34:33 UTC)
Source: CVE Database V5
Vendor/Project: ninenines
Product: cowlib

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.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

cowlib
pkg:hex/cowlib
Affected versions
=2.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/08/2026, 17:19:09 UTC

Technical Analysis

The vulnerability in ninenines cowlib 2.9.0 involves improper neutralization of CRLF sequences in HTTP headers, specifically in the cow_http_struct_hd:escape_string/2 function. This function escapes only backslash and double quote characters but allows other bytes, including carriage return (CR) and line feed (LF), to pass through unescaped. The parser on the receiving end accepts only printable ASCII characters excluding backslash and double quote, creating an asymmetry that enables injection of CRLF sequences into HTTP header values. When attacker-controlled input is used to build structured HTTP headers via cow_http_struct_hd:item/1 or cow_http_hd:wt_protocol/1, this can lead to HTTP response splitting, where injected CRLF sequences terminate the current header and cause subsequent data to be interpreted as new headers.

Potential Impact

Successful exploitation of this vulnerability can allow an attacker to perform HTTP response splitting attacks, which may lead to web cache poisoning, cross-site scripting (XSS), or other HTTP header injection attacks depending on the application context. The CVSS 4.0 base score is 6.3 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and limited impact on confidentiality, integrity, and availability.

Mitigation Recommendations

No official patch or remediation guidance is currently available from the vendor. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, users should avoid using attacker-controlled input in structured HTTP headers via cow_http_struct_hd:item/1 or related functions or implement additional input validation and sanitization to prevent CRLF injection.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-05-04T18:23:25.573Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a26f68ee29bf47b50440d48

Added to database: 06/08/2026, 17:06:22 UTC

Last enriched: 06/08/2026, 17:19:09 UTC

Last updated: 07/31/2026, 19:24:48 UTC

Views: 83

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses