Data Amplification Vulnerability in Hex Package Manager by Hex.pm
CVE-2026-96618
What is CVE-2026-96618?
The Hex Package Manager is susceptible to a data amplification vulnerability that allows untrusted package mirrors to indefinitely exhaust the memory or disk space of the machine. When using commands like mix deps.get, mix deps.update, mix hex.package fetch, or mix hex.docs fetch, Hex improperly handles compressed data responses. It does not impose limits on the size of the decompressed content, allowing an untrusted mirror, defined by specific configuration variables, to send excessive data. This may lead to server crashes or resource exhaustion, as the Hex application decompresses entire responses and caches large package tarballs without verifying their size prior to extraction.
Affected Version(s)
hex 0.11.2 < 2.5.2
hex 51ea632424fb6ea8765148f96dc25dfeb526b1f8
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
