Home / ninenines / cowlib / CVE-2026-43968
CVE-2026-43968: is it exploited, and which versions of ninenines cowlib are affected and fixed?
CVE-2026-43968 is an improper Neutralization of CRLF Sequences 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, 14:08 UTC). Affected: cowlib from 2.6.0 before 2.16.1 (GitHub advisory GHSA-hv23-4qp7-8c8r). Fixed in 2.16.1 (GitHub advisory GHSA-hv23-4qp7-8c8r). Severity: Medium (6.3, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 20, 2026, 05:19 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-43968?
CR Injection in SSE Encoder Enables Event Splitting via cow_sse:event/1
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.5.0 before 2.16.1.
From the CVE record by EEF, last updated November 20, 2026, 05:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ninenines | cowlib | from 2.5.0 before 2.16.1 | 2.16.1 |
| ninenines | cowlib ninenines/cowlib | not stated |
As the CVE record by EEF states it, last updated November 20, 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 | cowlib | >= 2.6.0, < 2.16.1 | 2.16.1 | GHSA-hv23-4qp7-8c8r |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 8, 2026. Summary: ninenines cowlib: Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability allows SSE event splitting and injection via unvalidated field values.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ninenines | cowlib | from 2.6.0 before 2.16.1 | application |
NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.
How severe is CVE-2026-43968?
| 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:L/VA:N/SC:N/SI:L/SA:N | EEF |
| Medium 4.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/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-43968 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 11, 2026)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 21.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-93 Improper Neutralization of CRLF Sequences
Is there a workaround? (from the CVE record)
Sanitize user-controlled values before passing them to cow_sse:event/1: reject or strip any value containing \r or \n characters in the id, event, data, and comment fields. Alternatively, ensure that all SSE field values are derived exclusively from trusted, application-controlled data rather than user input.
Where are the vendor advisories and references?
- EEF CNA record for CVE-2026-43968 related, third-party-advisory
- OSV record EEF-CVE-2026-43968 related
- Introducing commit 93b2b89 in ninenines/cowlib related
- Fix commit 6165fc4 in ninenines/cowlib patch
Who found and reported it?
- Peter Ullrich (finder)
- 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
- May 11, 2026, 18:06 UTC
- CVE record updated
- November 20, 2026, 05:12 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 05:19 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 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)
- Jun 8, 2026CVE-2026-43966 ninenines cowlib: HTTP response splitting
- May 13, 2026CVE-2026-43970 ninenines cowlib: improper Handling of Highly Compressed Data (Data Amplification)
- 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-43968
Is CVE-2026-43968 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ninenines cowlib are affected by CVE-2026-43968?
cowlib from 2.6.0 before 2.16.1, per the GitHub advisory GHSA-hv23-4qp7-8c8r. The tables above give every range the sources list.
Which version fixes CVE-2026-43968?
2.16.1, per the GitHub advisory GHSA-hv23-4qp7-8c8r. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-43968?
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-43968?
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.