
CVE catalog
CVE-2026-43968
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values. cow_sse:event/1 in cowlib guards
- Severity
- Medium · CVSS 6.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.27% · Oct 25, 2026
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values. cow_sse:event/1 in cowlib guards the id and event fields against \n but not against bare \r, and the internal prefix_lines/2 function used for data and comment fields splits only on \n. Because the SSE specification requires decoders to treat \r\n, \r, and \n as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser EventSource clients or other SSE consumers dispatch on event.type and render event.data, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM. This issue affects cowlib from 2.6.0 before 2.16.1.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | erlang-cowlib | sid | 2.21.0-1 | not affected |
| Debian | erlang-cowlib | forky | 2.21.0-1 | not affected |
| Debian | erlang-cowlib | trixie | 1.3.0-3 | not affected |
| Debian | erlang-cowlib | bookworm | 1.3.0-3 | not affected |
| Cpe | cowlib | Not reported | 2.16.1 | fixed |
| Cpe | cowlib | Not reported | 2.16.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | erlang-cowlib | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | erlang-cowlib | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | erlang-cowlib | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | erlang-cowlib | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Cpe | cowlib | cpe | Not reported | 2.16.1 | Not reported | Not reported | Not reported |
| Cpe | cowlib | cpe | Not reported | 2.16.1 | Not reported | NVD-CVE-2026-43968 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [erlang-cowlib]Not affected
Details (2)
1.3.0-3· arm64 · bookwormNot affected
nvd · erlang-cowlib · debian · bookworm
1.3.0-3+b1· amd64 · bookwormNot affected
nvd · erlang-cowlib · debian · bookworm
Observed:
References
- [https://cna.erlef.org/cves/CVE-2026-43968.html]
- [https://github.com/ninenines/cowlib/commit/6165fc40efa159ba1cceee7e7981e790acba5d9c]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-43968]
- [https://osv.dev/vulnerability/EEF-CVE-2026-43968]
- [https://security-tracker.debian.org/tracker/CVE-2026-43968]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43968.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]