CVE-2026-21619
published low CVSS 4.0 · 2.0Unsafe Deserialization of Erlang Terms in hex_core
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| erlang | — | rebar33.9.1 to < 3.27.0 · Other versions: unaffected | Affected | Not stated | EEF |
| erlang | — | erlang/rebar3rebar3 · 209c02ec57c2cc3207ee0174c3af3675b8dc8f79 to < 1d4478f527e373de0b225951e53115450e0d9b9d · Other versions: unaffected | Affected | Not stated | EEF |
| hexpm | — | hex2.3.0 to < 2.3.2 · Other versions: unaffected | Affected | Not stated | EEF |
| hexpm | — | hexpm/hexhex · 314546ac432229518714cc8e3336e916b9da6305 and later (affected · git); changes: unaffected at 636739f3322514e9303ca335fb630696fcbb3c95, unaffected at a9999e425d9c0f9fc8c53e7823eee898156c4d1a · Other versions: unaffected | Version-specific | Not stated | EEF |
| hexpm | — | hex_core0.1.0 to < 0.12.1 · Other versions: unaffected | Affected | Not stated | EEF |
| hexpm | — | hexpm/hex_corehex_core · eb327f8edfe45507351e38cc0805aa12fa647f0b to < cdf726095bca85ad2549d146df1e831ae93c2b13 · Other versions: unaffected | Affected | Not stated | EEF |
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 rebar3: from 3.9.1 before 3.27.0; hex: from 2.3.0 before 2.3.2; hex_core: from 0.1.0 before 0.12.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| erlang | rebar3 | 3.9.1 to < 3.27.0 (affected · semver)Default: unaffected | EEF · cna |
| erlang | rebar3 | 209c02ec57c2cc3207ee0174c3af3675b8dc8f79 to < 1d4478f527e373de0b225951e53115450e0d9b9d (affected · git)Default: unaffected | EEF · cna |
| hexpm | hex | 2.3.0 to < 2.3.2 (affected · semver)Default: unaffected | EEF · cna |
| hexpm | hex | 314546ac432229518714cc8e3336e916b9da6305 and later (affected · git); changes: unaffected at 636739f3322514e9303ca335fb630696fcbb3c95, unaffected at a9999e425d9c0f9fc8c53e7823eee898156c4d1aDefault: unaffected | EEF · cna |
| hexpm | hex_core | 0.1.0 to < 0.12.1 (affected · semver)Default: unaffected | EEF · cna |
| hexpm | hex_core | eb327f8edfe45507351e38cc0805aa12fa647f0b to < cdf726095bca85ad2549d146df1e831ae93c2b13 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
2- CWE-400 CWE-400 Uncontrolled Resource Consumption
- CWE-502 CWE-502 Deserialization of Untrusted Data
References
10- EEF CNA record for CVE-2026-21619 https://cna.erlef.org/cves/CVE-2026-21619.html
- Fix commit 1d4478f in erlang/rebar3 https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d
- Introducing commit 209c02e in erlang/rebar3 https://github.com/erlang/rebar3/commit/209c02ec57c2cc3207ee0174c3af3675b8dc8f79
- Introducing commit 314546a in hexpm/hex https://github.com/hexpm/hex/commit/314546ac432229518714cc8e3336e916b9da6305
- Fix commit 636739f in hexpm/hex https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95
- Fix commit a9999e4 in hexpm/hex https://github.com/hexpm/hex/commit/a9999e425d9c0f9fc8c53e7823eee898156c4d1a
- Fix commit cdf7260 in hexpm/hex_core https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13
- Introducing commit eb327f8 in hexpm/hex_core https://github.com/hexpm/hex_core/commit/eb327f8edfe45507351e38cc0805aa12fa647f0b
- Unsafe Deserialization of Erlang Terms in hex_core https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96
- OSV record EEF-CVE-2026-21619 https://osv.dev/vulnerability/EEF-CVE-2026-21619
Provider assertions
2EEF · cna
Unsafe Deserialization of Erlang Terms in hex_core
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 32760561e14716a09d64b0720b57f53b698f03e5c4f3272c9f3466643a8c254e
- Ingested
- 20 Nov 2026, 06:03:31 UTC
- Source record
- Official CVE record