Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify hackney-backed URL ingestion point
-
DeliverySubmit URLs with unique random scheme prefixes
-
Exploitparse_url interns each scheme as permanent atom
-
InstallRepeat at scale via webhooks or redirect chains
-
C2Atom table reaches 1,048,576 entry limit
-
ExecuteBEAM VM aborts with system_limit
-
ImpactFull Erlang node outage
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim Erlang/Elixir application feeds attacker-influenced URLs into hackney's URL parser - concretely, one of: (a) hackney is used to fetch a URL supplied directly or indirectly by the attacker, (b) the attacker can configure webhook target URLs that hackney later dispatches to, or (c) hackney is configured to follow redirects and the attacker controls a server that returns Location headers with arbitrary scheme prefixes. No authentication to hackney itself is required (CVSS PR:N) and no user interaction is needed (UI:N). The vulnerability affects only hackney versions 2.0.0 through 4.0.0 and requires the Erlang runtime to be using the default atom table limit (1,048,576). Limiting factors: the attacker must issue enough unique-scheme URLs to exhaust the atom table (potentially hundreds of thousands of requests, which may be rate-limited upstream), and applications that strictly validate scheme inputs before invoking hackney are not exploitable. |
| Impact | Signals are mixed and require careful weighing. CVSS 4.0 scores this 8.7 (AV:N/AC:L/PR:N/UI:N, VA:H) reflecting remote, unauthenticated, low-complexity exploitation with high availability impact and no confidentiality/integrity impact - consistent with a pure DoS. SSVC corroborates: exploitation is rated 'poc', automatable 'yes', technical impact 'partial' (availability-only). EPSS is very low at 0.04% (13th percentile) and the CVE is NOT on the CISA KEV list, suggesting no observed in-the-wild exploitation despite the trivial attack pattern. The conflict between high CVSS and low EPSS is explainable: the bug is easy to trigger but requires the victim application to feed attacker-influenced URLs to hackney, which is deployment-specific (webhooks, redirect following, user-supplied URL fetching). Real priority is elevated for any Erlang/Elixir service that processes untrusted URLs or follows redirects with hackney - particularly multi-tenant platforms where a single VM crash impacts all tenants. Lower priority for closed environments where URL inputs are fully controlled. |
| Exploit ScenarioDerived | An attacker registers a webhook in a multi-tenant Erlang/Elixir SaaS that uses hackney to deliver outbound events, supplying a URL like 'aaaa1://attacker/x'. With each delivery - or by repeatedly redirecting hackney-followed requests through Location headers pointing at fresh random-scheme URLs - the attacker forces hackney_url:parse_url to intern a new permanent atom per unique scheme, scripting hundreds of thousands of requests until the BEAM atom table is exhausted and the entire node aborts with system_limit, taking down every tenant on that VM. Exploitation is scriptable (SSVC automatable: yes) but no public PoC was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Denial of service in benoitc hackney (Erlang HTTP client) 2.0.0 through 4.0.0 allows remote unauthenticated attackers to crash the BEAM VM by supplying URLs with attacker-chosen scheme prefixes, exhausting the non-garbage-collected atom table (default limit 1,048,576). Exploitation is automatable per SSVC and affects any application that parses untrusted URLs via hackney - including request targets, configured webhook URLs, or Location redirect headers. No public exploit identified at time of analysis and EPSS is low (0.04%), but a vendor patch is available in 4.0.1.
RemediationAI
Vendor-released patch: upgrade hackney to 4.0.1 or later, which replaces binary_to_atom with binary_to_existing_atom in hackney_url:parse_url so unknown schemes remain as binaries (commit 31f6f0e27e096ad88743dfded4f030a3ee74972e). See the advisory at https://github.com/benoitc/hackney/security/advisories/GHSA-9653-rcfr-5c62 for guidance. Where immediate upgrade is not possible, compensating controls include disabling automatic redirect following in hackney requests (trade-off: callers must handle 3xx responses manually), validating and allow-listing URL schemes (e.g. only http/https) before passing user-supplied URLs or webhook targets to hackney (trade-off: rejects legitimate uncommon schemes), and increasing the BEAM atom table limit via the +t emulator flag to delay exhaustion (trade-off: only buys time, does not prevent the underlying leak and increases memory ceiling). Auditing all code paths that feed externally influenced URLs into hackney is also recommended.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
hackney is a widely-used HTTP client library for Erlang/Elixir applications. The root cause (CWE-770: Allocation of Resources Without Limits or Throttling) lives in src/hackney_url.erl, where parse_url/1 invoked binary_to_atom/2 on the lowercased URL scheme. In the BEAM (Erlang virtual machine), atoms are interned into a global, never-garbage-collected table whose default ceiling is 1,048,576 entries; once exhausted, the VM aborts with a system_limit error and the entire Erlang node terminates. Because hackney_url is reachable any time the library parses a URL - including indirectly via Location headers during automatic redirect following - attacker-controlled scheme strings are converted into permanent atoms one per unique scheme observed. The upstream fix swaps binary_to_atom for binary_to_existing_atom with a binary fallback, so unknown schemes never mint new atoms and are simply rejected as unsupported_scheme downstream.
Know when Hackney gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (EEF) · only source for this CVE.
CVSS VectorVendor: EEF
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Erlang HTTP client hackney versions 2.0.0-4.0.0 contain a denial-of-service vulnerability that allows remote attackers to crash affected applications by sending specially crafted URLs, impacting any service that processes untrusted URL inputs such as webhooks and HTTP redirects. Organizations running Erlang or Elixir services on vulnerable hackney versions face potential availability disruption if exposed to attacker-controlled URL data. A vendor patch is available in version 4.0.1.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Denial of service in benoitc hackney (Erlang HTTP client) versions 2.0.0 through 4.0.0 allows a malicious WebSocket serv
Denial-of-service in benoitc's hackney Erlang HTTP client (versions 2.0.0-beta.1 through 4.0.0) allows any HTTP origin s
Remote denial of service in benoitc hackney 2.0.0 through 4.0.0 lets a malicious HTTP/3 server exhaust a client's BEAM p
Denial of service in benoitc hackney (Erlang HTTP client) versions 0.10.0 through 4.0.0 lets a hostile SOCKS5 or HTTP CO
CRLF injection in hackney (Erlang HTTP client, versions 2.0.0-4.0.1) enables header injection into outbound WebSocket up
SSRF allowlist bypass in hackney (Erlang HTTP client) versions 0.13.0 through before 4.0.1 allows attackers who control
HTTP Request Splitting via CRLF injection in hackney, the Erlang/Elixir HTTP client library, allows an attacker who cont
Credential leakage in the hackney Erlang HTTP client library (versions 3.1.1 through before 4.0.1) allows a malicious or
Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers
Memory exhaustion in the Erlang hackney HTTP client (2.0.0-beta.1 through 4.8.x) lets any server the client requests for
Server-side request forgery in the Erlang hackney HTTP client (versions 4.0.1 up to but not including 4.9.0) lets an att
CRLF injection in the hackney Erlang HTTP client library's hackney_cookie:setcookie/3 function enables HTTP response spl
EUVD-2026-31691
GHSA-9653-rcfr-5c62
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB