Vulnerability GHSA-hx9w-f2w9-9g96

Low Risk
LOW RISK
CVSS Score: 3.0
Score Range: < 4.0
Low severity vulnerabilities (CVSS < 4.0). Hygiene issues that can accumulate but pose lower immediate risk.
7 months ago
March 01, 2026 at 01:25 AM UTC
hex_core has Unsafe Deserialization of Erlang Terms
0.1.0 - 0.12.0
0.1.0 - 0.12.0

Summary

hex_core has Unsafe Deserialization of Erlang Terms

Details

Impact

The Hex client (hex_core) deserializes Erlang terms received from the Hex API using binary_to_term/1 without sufficient restrictions.

If an attacker can control the HTTP response body returned by the Hex API, this allows denial-of-service attacks such as atom table exhaustion, leading to a VM crash. No released versions are known to allow remote code execution.

Patches

Workarounds

Ensure that the Hex API URL (HEX_API_URL) points only to trusted endpoints. There is no client-side workaround that fully mitigates this issue without applying the patch.

Resources

Impacted packages

Timeline

Published
7 months ago
March 01, 2026 at 01:25 AM UTC
Fixed (0.12.1)
7 months ago
February 27, 2026 at 04:16 PM UTC
Last Modified
6 months ago
April 06, 2026 at 11:34 PM UTC