CVE-2026-21619
LOW 2.0CVSS 4.0Unsafe Deserialization of Erlang Terms in hex_core
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_api: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.
- Published
- 27 Feb 2026
- Last modified
- 2 Dec 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Modified
- Weakness
- CWE-400CWE-502
- Also known as
- EEF-CVE-2026-21619GHSA-hx9w-f2w9-9g96
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-21619JSONOSV GHSA-hx9w-f2w9-9g96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | LOW 2.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | LOW 2.0 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | erlang | rebar3cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:* |
>= 3.9.1, < 3.27.0 | 3.27.0 |
| NVD | hex | hexcpe:2.3:a:hex:hex:*:*:*:*:*:*:*:* |
>= 2.3.0, < 2.3.2 | 2.3.2 |
| NVD | hex | hex_corecpe:2.3:a:hex:hex_core:*:*:*:*:*:*:*:* |
>= 0.1.0, < 0.12.1 | 0.12.1 |
| CVE List | erlang | rebar3cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:* |
>= 3.9.1, < 3.27.0 | 3.27.0 |
| CVE List | https://github.com | erlang/rebar3cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:* |
>= 209c02ec57c2cc3207ee0174c3af3675b8dc8f79, < 1d4478f527e373de0b225951e53115450e0d9b9d | 1d4478f527e373de0b225951e53115450e0d9b9d |
| CVE List | hexpm | hexcpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:* |
>= 2.3.0, < 2.3.2 | 2.3.2 |
| CVE List | https://github.com | hexpm/hexcpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:* |
>= 314546ac432229518714cc8e3336e916b9da6305 | |
| CVE List | https://repo.hex.pm | hex_corecpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:* |
>= 0.1.0, < 0.12.1 | 0.12.1 |
| CVE List | https://github.com | hexpm/hex_corecpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:* |
>= eb327f8edfe45507351e38cc0805aa12fa647f0b, < cdf726095bca85ad2549d146df1e831ae93c2b13 | cdf726095bca85ad2549d146df1e831ae93c2b13 |
| OSV | Hex | hex_core | >= 0.1.0, < 0.12.1 | 0.12.1 |
| OSV | Hex | hex_core | < 0.12.1 | 0.12.1 |
References
- https://cna.erlef.org/cves/CVE-2026-21619.html · related, WEB
- https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d · Patch, FIX, WEB
- https://github.com/erlang/rebar3/commit/209c02ec57c2cc3207ee0174c3af3675b8dc8f79 · related, WEB
- https://github.com/hexpm/hex/commit/314546ac432229518714cc8e3336e916b9da6305 · related, WEB
- https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95 · Patch, FIX, WEB
- https://github.com/hexpm/hex/commit/a9999e425d9c0f9fc8c53e7823eee898156c4d1a · patch, FIX
- https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13 · Patch, FIX, WEB
- https://github.com/hexpm/hex_core/commit/eb327f8edfe45507351e38cc0805aa12fa647f0b · related, WEB
- https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96 · Mitigation, Vendor Advisory, vendor-advisory, related, ADVISORY, WEB
- https://osv.dev/vulnerability/EEF-CVE-2026-21619 · related, WEB
- https://hex.pm/packages/hex_core · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2026-21619 · ADVISORY
- https://github.com/hexpm/hex_core · PACKAGE
History
- 2 Dec 2026 13:48 UTC · NVD: description edited
- 2 Dec 2026 13:48 UTC · OSV: description edited
- 25 Nov 2026 20:32 UTC · CVE List: first stored (published 27 Feb 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 Feb 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Mar 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 27 Feb 2026)