Skip to content

CVE-2026-47067 Atom table exhaustion via unrecognized URL schemes in hackney

HighCVSS 8.7 EPSS 0.75%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
benoitc hackney >= 2.0.0, < 4.0.1; >= d9713695c0d99855d12c73fd8a0b4be0543950c4, < 31f6f0e27e096ad88743dfded4f030a3ee74972e 4.0.1, 31f6f0e27e096ad88743dfded4f030a3ee74972e Fixed
hex hackney(Hex) >= 2.0.0, < 4.0.1 4.0.1 Fixed

Affected products

ProductAffected versionsFixed in
hex hackney(Hex) >= 2.0.0, < 4.0.1 4.0.1
benoitc hackney >= 2.0.0, < 4.0.1 4.0.1
benoitc hackney >= d9713695c0d99855d12c73fd8a0b4be0543950c4, < 31f6f0e27e096ad88743dfded4f030a3ee74972e 31f6f0e27e096ad88743dfded4f030a3ee74972e

References