CVE-2026-21619

Unsafe Deserialization of Erlang Terms in hex_core

HIGH
7.5
CVSS Score
Published: February 27, 2026 at 05:57 PM UTC
Updated: June 17, 2026 at 10:18 AM UTC
5 products affected across 3 vendorsREBAR3HexHex Core

Using hex_core by hexpm?

Get instant alerts when new vulnerabilities affect hex_core - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 1d4478f527e373de0b225951e53115450e0d9b9d (fixed)
Affected range stops below 3.27.0, so it looks safe — our inference, not a vendor statement
2.3.0 ≤ v < 2.3.2
0.1.0 ≤ v < 0.12.1
2.3.0 ≤ v < 2.3.22.3.0314546ac432229518714cc8e3336e916b9da6305
Vendor states this is fixed in 636739f3322514e9303ca335fb630696fcbb3c95 (fixed)
Affected range stops below 2.3.2, so it looks safe — our inference, not a vendor statement
0.1.0 ≤ v < 0.12.10.1.0eb327f8edfe45507351e38cc0805aa12fa647f0b
Vendor states this is fixed in cdf726095bca85ad2549d146df1e831ae93c2b13 (fixed)
Affected range stops below 0.12.1, so it looks safe — our inference, not a vendor statement

References (6)

Vendor AdvisoryRelatedMitigation
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400CWE-502

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card