Skip to content
CVE PROGRAM SOURCE RECORD2.0 Low

CVE-2026-21619

Unsafe Deserialization of Erlang Terms in hex_core

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

hexpm hex_core

Default version status: unaffected

  • eb327f8edfe45507351e38cc0805aa12fa647f0b to < cdf726095bca85ad2549d146df1e831ae93c2b13affected
pkg:github/hexpm/hex_core

hexpm hex_core

Default version status: unaffected

  • 0.1.0 to < 0.12.1affected
pkg:hex/hex_core

hexpm hex

Default version status: unaffected

  • 314546ac432229518714cc8e3336e916b9da6305 to < 636739f3322514e9303ca335fb630696fcbb3c95affected
pkg:github/hexpm/hex

hexpm hex

Default version status: unaffected

  • 2.3.0 to < 2.3.2affected
pkg:otp/hex?repository_url=https:%2F%2Fgithub.com%2Fhexpm%2Fhex.git&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Fhexpm%2Fhex.git

erlang rebar3

Default version status: unaffected

  • 209c02ec57c2cc3207ee0174c3af3675b8dc8f79 to < 1d4478f527e373de0b225951e53115450e0d9b9daffected
pkg:github/erlang/rebar3

erlang rebar3

Default version status: unaffected

  • 3.9.1 to < 3.27.0affected
pkg:otp/rebar3?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Frebar3.git&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Frebar3.git

References