Impact
A malicious or compromised package mirror can serve extremely large or highly compressed files that are processed by Hex without size limits. The untrusted mirror is fully trusted for download, so Hex downloads the entire response, decompresses gzip-encoded data, and buffers payloads such as package tarballs, docs archives, or registry responses fully in memory or on disk before verifying checksums. The lack of a limit on compressed or decompressed size allows the mirror to exhaust the machine's RAM or disk space, causing Mix commands that rely on Hex to fail or terminate. This vulnerability represents a denial of service due to resource exhaustion (CWE-409: Excessive Resource Consumption and CWE-770: Allocation of Resources Without Limits).
Affected Systems
All installations of Hex versions from 0.11.2 up to, but not including, 2.5.2 are affected. The issue was addressed in Hex 2.5.2 and later releases, which impose a maximum of 16 MiB on the uncompressed size of download artifacts and validate registry signatures before caching or unpacking packages. Users of earlier releases must identify the specific patch level by consulting the version history of the Hex package.
Risk and Exploitability
The CVSS score of 2.1 indicates a low severity, and the EPSS score is not available, suggesting no publicly known exploits and a low likelihood of exploitation. Because the attack requires control over a package mirror, an adversary must either compromise an existing mirror or set up a malicious mirror on the network. The vulnerability is local to the system running Mix; it does not allow remote code execution or compromise of the host beyond exhausting resources. The risk is therefore limited to a local denial of service that could affect development or continuous‑integration environments, especially when Mix is executed in resource‑constrained containers.
OpenCVE Enrichment