Unsafe Deserialization of Erlang Terms in hex_core
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service, Code execution
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400 and CWE-502.
Summary
Uncontrolled Resource Consumption, Deserialization of Untrusted Data vulnerability in hexpm hex_core (hex_api modules), hexpm hex (mix_hex_api modules), erlang rebar3 (r3_hex_api modules) allows Object Injection, Excessive Allocation. This vulnerability is associated with program files src/hex_api.erl, src/mix_hex_api.erl, apps/rebar/src/vendored/r3_hex_api.erl and program routines hex_core:request/4, mix_hex_api:request/4, r3_hex_api:request/4. This issue affects hex_core: from 0.1.0 before 0.12.1; hex: from 2.3.0 before 2.3.2; rebar3: from 3.9.1 before 3.27.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| hexpm | hex_core | 0.1.0 to before 0.12.1 | 0.12.1 | Patch available | CNA |
| hexpm | hex | 2.3.0 to before 2.3.2 | 2.3.2 | Patch available | CNA |
| Erlang | rebar3 | 3.9.1 to before 3.27.0 | 3.27.0 | Patch available | CNA |
| — | hex_core (Hex) | before 0.12.1 | 0.12.1 | Patch available | GHSA-hx9w-f2w9-9g96 |
- hex_core Vendorhexpm Affected 0.1.0 to before 0.12.1 Fixed in 0.12.1 Patch available CNA
- hex Vendorhexpm Affected 2.3.0 to before 2.3.2 Fixed in 2.3.2 Patch available CNA
- rebar3 VendorErlang Affected 3.9.1 to before 3.27.0 Fixed in 3.27.0 Patch available CNA
- hex_core (Hex) Vendor— Affected before 0.12.1 Fixed in 0.12.1 Patch available GHSA-hx9w-f2w9-9g96
Remediation
- Fix · CNA hex_core (hexpm) Fixed in 0.12.1
- Fix · CNA hex (hexpm) Fixed in 2.3.2
- Fix · CNA rebar3 (erlang) Fixed in 3.27.0
- Fix · GHSA-hx9w-f2w9-9g96 hex_core (Hex) Fixed in 0.12.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-21619
- 2026-10-03 Alias added: GHSA-hx9w-f2w9-9g96
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
Patch 3
Advisory 2
More hexpm Hex vulnerabilities
- TI-2026-24685 Lockfile checksums not verified in Hex allows dependency integrity bypass CVSS 4.0HIGH 8.9
- TI-2019-15829 Hex package manager version 0.14.0 through 0.18.2 contains a Signing oracle vulnerability… CVSS 3.0HIGH 8.8
Sources
- CVE-2026-21619 · CVE Program
- CVE-2026-21619 · NVD
- FIRST EPSS
- GHSA-hx9w-f2w9-9g96 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-21619 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences