CVE-2026-21619 Unsafe Deserialization of Erlang Terms in hex_core
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
15 packages: 8 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/erlang-hex(Debian 13) | = 2.0.6-2; = 2.4.2-1; = 2.4.2-2; = 2.5.1-1 +6 more | No fix listed | No fix yet |
| debian/rebar3(Debian 12) | = 3.19.0-1; = 3.23.0-1; = 3.23.0-2; = 3.23.0-3 +12 more | No fix listed | No fix yet |
| debian/rebar3(Debian 13) | = 3.24.0-1; = 3.25.1-1; = 3.26.0-1; = 3.27.0-1 +8 more | No fix listed | No fix yet |
| ubuntu/rebar3(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/rebar3(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rebar3(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rebar3(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/erlang-hex(Debian 14) | < 2.4.2-2; = 2.0.6-2; = 2.4.2-1 | 2.4.2-2 | Fixed |
| debian/rebar3(Debian 14) | < 3.27.0-1; = 3.24.0-1; = 3.25.1-1; = 3.26.0-1 | 3.27.0-1 | Fixed |
| erlang rebar3 | >= 3.9.1, < 3.27.0; >= 209c02ec57c2cc3207ee0174c3af3675b8dc8f79, < 1d4478f527e373de0b225951e53115450e0d9b9d | 1d4478f527e373de0b225951e53115450e0d9b9d, 3.27.0 | Fixed |
| hex | >= 2.3.0, < 2.3.2 | 2.3.2 | Fixed |
| hex_core | >= 0.1.0, < 0.12.1 | 0.12.1 | Fixed |
| hex_core(Hex) | < 0.12.1 | 0.12.1 | Fixed |
| hexpm hex | >= 2.3.0, < 2.3.2; >= 314546ac432229518714cc8e3336e916b9da6305, < 636739f3322514e9303ca335fb630696fcbb3c95 | 2.3.2, 636739f3322514e9303ca335fb630696fcbb3c95 | Fixed |
| hexpm hex core | >= 0.1.0, < 0.12.1; >= eb327f8edfe45507351e38cc0805aa12fa647f0b, < cdf726095bca85ad2549d146df1e831ae93c2b13 | 0.12.1, cdf726095bca85ad2549d146df1e831ae93c2b13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hex_core(Hex) | < 0.12.1 | 0.12.1 |
| ubuntu/rebar3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rebar3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rebar3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rebar3(Ubuntu:26.10) | All versions | No fix listed |
| erlang rebar3 | >= 3.9.1, < 3.27.0 | 3.27.0 |
| erlang rebar3 | >= 209c02ec57c2cc3207ee0174c3af3675b8dc8f79, < 1d4478f527e373de0b225951e53115450e0d9b9d | 1d4478f527e373de0b225951e53115450e0d9b9d |
| hexpm hex | >= 2.3.0, < 2.3.2 | 2.3.2 |
| hexpm hex | >= 314546ac432229518714cc8e3336e916b9da6305, < 636739f3322514e9303ca335fb630696fcbb3c95 | 636739f3322514e9303ca335fb630696fcbb3c95 |
| hexpm hex core | >= 0.1.0, < 0.12.1 | 0.12.1 |
| hexpm hex core | >= eb327f8edfe45507351e38cc0805aa12fa647f0b, < cdf726095bca85ad2549d146df1e831ae93c2b13 | cdf726095bca85ad2549d146df1e831ae93c2b13 |
| hex | >= 2.3.0, < 2.3.2 | 2.3.2 |
| hex_core | >= 0.1.0, < 0.12.1 | 0.12.1 |
| debian/erlang-hex(Debian:13) | All versions | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.0.6-2 | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.4.2-1 | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.4.2-2 | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.5.1-1 | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.5.1-2 | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.5.3-1 | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.5.3-2 | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.6.0-1 | No fix listed |
| debian/erlang-hex(Debian:13) | = 2.7.0-1 | No fix listed |
| debian/erlang-hex(Debian:14) | < 2.4.2-2 | 2.4.2-2 |
| debian/erlang-hex(Debian:14) | = 2.0.6-2 | No fix listed |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/erlang-hex(Debian:14) | = 2.4.2-1 | No fix listed |
| debian/rebar3(Debian:12) | All versions | No fix listed |
| debian/rebar3(Debian:12) | = 3.19.0-1 | No fix listed |
| debian/rebar3(Debian:12) | = 3.23.0-1 | No fix listed |
| debian/rebar3(Debian:12) | = 3.23.0-2 | No fix listed |
| debian/rebar3(Debian:12) | = 3.23.0-3 | No fix listed |
| debian/rebar3(Debian:12) | = 3.24.0-1 | No fix listed |
| debian/rebar3(Debian:12) | = 3.25.1-1 | No fix listed |
| debian/rebar3(Debian:12) | = 3.26.0-1 | No fix listed |
| debian/rebar3(Debian:12) | = 3.27.0-1 | No fix listed |
| debian/rebar3(Debian:12) | = 3.27.0-2 | No fix listed |
| debian/rebar3(Debian:12) | = 3.27.0-3 | No fix listed |
| debian/rebar3(Debian:12) | = 3.27.0-4 | No fix listed |
| debian/rebar3(Debian:12) | = 3.27.0-5 | No fix listed |
| debian/rebar3(Debian:12) | = 3.27.0-6 | No fix listed |
| debian/rebar3(Debian:12) | = 3.27.3-1 | No fix listed |
| debian/rebar3(Debian:12) | = 3.28.0-1 | No fix listed |
| debian/rebar3(Debian:13) | All versions | No fix listed |
| debian/rebar3(Debian:13) | = 3.24.0-1 | No fix listed |
| debian/rebar3(Debian:13) | = 3.25.1-1 | No fix listed |
| debian/rebar3(Debian:13) | = 3.26.0-1 | No fix listed |
| debian/rebar3(Debian:13) | = 3.27.0-1 | No fix listed |
| debian/rebar3(Debian:13) | = 3.27.0-2 | No fix listed |
| debian/rebar3(Debian:13) | = 3.27.0-3 | No fix listed |
| debian/rebar3(Debian:13) | = 3.27.0-4 | No fix listed |
| debian/rebar3(Debian:13) | = 3.27.0-5 | No fix listed |
| debian/rebar3(Debian:13) | = 3.27.0-6 | No fix listed |
| debian/rebar3(Debian:13) | = 3.27.3-1 | No fix listed |
| debian/rebar3(Debian:13) | = 3.28.0-1 | No fix listed |
| debian/rebar3(Debian:14) | < 3.27.0-1 | 3.27.0-1 |
| debian/rebar3(Debian:14) | = 3.24.0-1 | No fix listed |
| debian/rebar3(Debian:14) | = 3.25.1-1 | No fix listed |
| debian/rebar3(Debian:14) | = 3.26.0-1 | No fix listed |
References
- Unsafe Deserialization of Erlang Terms in hex_core mitigation related vendor-advisory
- EEF CNA record for CVE-2026-21619 related
- OSV record EEF-CVE-2026-21619 related
- Fix commit cdf7260 in hexpm/hex_core patch
- Fix commit 636739f in hexpm/hex patch
- Fix commit 1d4478f in erlang/rebar3 patch
- nvd.nist.gov third-party-advisory
- github.com
- Debian Security Tracker CVE-2026-21619 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Introducing commit eb327f8 in hexpm/hex_core related
- Introducing commit 209c02e in erlang/rebar3 related
- Introducing commit 314546a in hexpm/hex related
- Fix commit a9999e4 in hexpm/hex patch
- ENISA EUVD EUVD-2026-9037 third-party-advisory