Home / benoitc / hackney / CVE-2026-47066
CVE-2026-47066: is it exploited, and which versions of benoitc hackney are affected and fixed?
CVE-2026-47066 is an infinite loop (denial of service) vulnerability in benoitc hackney. 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, 17:09 UTC). Affected: hackney from 2.0.0 before 4.0.1 (GitHub advisory GHSA-6cp8-v795-jr2j). Fixed in 4.0.1 (GitHub advisory GHSA-6cp8-v795-jr2j). Severity: High (8.7, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 20, 2026, 06:50 UTC and NVD November 20, 2026, 08:04 UTC.
What is CVE-2026-47066?
Infinite loop in Alt-Svc header parser in hackney
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in benoitc hackney allows Excessive Allocation. The Alt-Svc response header parser in src/hackney_altsvc.erl does not guarantee forward progress. When parse_token/2 receives a non-token, non-whitespace, non-comma byte (e.g. !, @, =, ;), it returns the input unchanged. skip_comma/1 also returns the buffer unchanged when the first byte is not a comma. parse_entries/2 then recurses with identical data, creating a tight infinite tail-recursive loop that pins a scheduler at 100% CPU. The calling process never returns. The entry point parse_and_cache/3 is called synchronously in the connection process on every HTTP response. A single-byte Alt-Svc: ! response header is sufficient to trigger the hang; the header is fully controlled by any HTTP origin the client connects to. This issue affects hackney: from 2.0.0-beta.1 before 4.0.1.
From the CVE record by EEF, last updated November 20, 2026, 06:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| benoitc | hackney | from 2.0.0-beta.1 before 4.0.1 | 4.0.1 |
| benoitc | hackney benoitc/hackney | 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 | hackney | >= 2.0.0, < 4.0.1 | 4.0.1 | GHSA-6cp8-v795-jr2j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 26, 2026. Summary: Hackney has an infinite loop on non-token byte at start of an Alt-Svc entry.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| benoitc | hackney | from 2.0.0 before 4.0.1 | application |
NVD analysis (status Modified), last modified November 20, 2026, 07:17 UTC.
How severe is CVE-2026-47066?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | 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-47066 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, May 26, 2026)
- EPSS
- 0.75% probability of exploitation activity in the next 30 days, percentile 56.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- Infinite loop on non-token byte at start of an Alt-Svc entry vendor-advisory, related
- EEF CNA record for CVE-2026-47066 related
- OSV record EEF-CVE-2026-47066 related
- Introducing commit 408e5fe in benoitc/hackney related
- Fix commit e548aba in benoitc/hackney patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (analyst)
- Benoit Chesneau (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 18, 2026
- Published
- May 25, 2026, 14:00 UTC
- CVE record updated
- November 20, 2026, 06:48 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 07:17 UTC
- Last checked
- CVE list November 20, 2026, 06:50 UTC; NVD November 20, 2026, 08:04 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect hackney?
- Oct 26, 2026CVE-2026-97200 benoitc hackney: improper Handling of Highly Compressed Data (Data Amplification)
- Oct 26, 2026CVE-2026-115693 benoitc hackney: improper certificate validation
- Oct 26, 2026CVE-2026-113440 benoitc hackney: credentials insufficiently protected
- Oct 26, 2026CVE-2026-115700 benoitc hackney: interpretation Conflict
- Oct 26, 2026CVE-2026-112880 benoitc hackney: HTTP response splitting
- May 25, 2026CVE-2026-47073 benoitc hackney: denial of service (uncontrolled resource consumption)
- May 25, 2026CVE-2026-47067 benoitc hackney: denial of service (resources allocated without limits)
- May 25, 2026CVE-2026-47072 benoitc hackney: improper Neutralization of CRLF Sequences
Questions about CVE-2026-47066
Is CVE-2026-47066 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.75% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of benoitc hackney are affected by CVE-2026-47066?
hackney from 2.0.0 before 4.0.1, per the GitHub advisory GHSA-6cp8-v795-jr2j. The tables above give every range the sources list.
Which version fixes CVE-2026-47066?
4.0.1, per the GitHub advisory GHSA-6cp8-v795-jr2j. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-47066?
High (8.7, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-47066?
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.