Benoitc hackney
Atom table exhaustion via unrecognized URL schemes in hackney
Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding. The URL parser in src/hackney_url.erl converts every unrecognized URL scheme to a permanent BEAM atom via binary_to_atom/2. BEAM atoms are never garbage-collected and the atom table defaults to a hard limit of 1,048,576 entries. An attacker who can supply URLs with attacker-chosen scheme prefixes — directly as request targets, as configured webhook URLs, or via Location headers followed during redirects — can exhaust the atom table and crash the entire BEAM VM with system_limit. This issue affects hackney: from 2.0.0 before 4.0.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, < 4.0.1
Fixed in 4.0.1
- >= d9713695c0d99855d12c73fd8a0b4be0543950c4, < 31f6f0e27e096ad88743dfded4f030a3ee74972e
Fixed in 31f6f0e27e096ad88743dfded4f030a3ee74972e
Mitigation
Upgrade hackney to 4.0.1 or later.
Upgrade hackney to 31f6f0e27e096ad88743dfded4f030a3ee74972e or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| NVD (tagged exploit) | https://github.com/benoitc/hackney/security/advisories/GHSA-9653-rcfr-5c62 | unknown | 20 Nov 2026 |