# CVE-2026-21619: Unsafe Deserialization of Erlang Terms in hex_core

- Severity: Low 2.0 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-02-27T17:57:11.513Z
- Modified: 2026-11-25T17:23:06.209Z
- Also known as: GHSA-hx9w-f2w9-9g96, EEF-CVE-2026-21619
- Weaknesses: CWE-400, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- rebar3: from 3.9.1 before 3.27.0
- erlang/rebar3: from 209c02ec57c2cc3207ee0174c3af3675b8dc8f79 before 1d4478f527e373de0b225951e53115450e0d9b9d
- hex: from 2.3.0 before 2.3.2
- hexpm/hex: from 314546ac432229518714cc8e3336e916b9da6305 before *
- hex_core: from 0.1.0 before 0.12.1
- hexpm/hex_core: from eb327f8edfe45507351e38cc0805aa12fa647f0b before cdf726095bca85ad2549d146df1e831ae93c2b13
- hex_core (Hex): before 0.12.1; from 0.1.0 before 0.12.1
- https://github.com/erlang/rebar3: from 209c02ec57c2cc3207ee0174c3af3675b8dc8f79 before 1d4478f527e373de0b225951e53115450e0d9b9d
- https://github.com/hexpm/hex: from 314546ac432229518714cc8e3336e916b9da6305 before 636739f3322514e9303ca335fb630696fcbb3c95; before a9999e425d9c0f9fc8c53e7823eee898156c4d1a
- https://github.com/hexpm/hex_core: from eb327f8edfe45507351e38cc0805aa12fa647f0b before cdf726095bca85ad2549d146df1e831ae93c2b13
- erlang rebar3: from 3.9.1 before 3.27.0
- hex hex: from 2.3.0 before 2.3.2
- hex hex_core: from 0.1.0 before 0.12.1

## Every score

- EEF: CVSS:4.0 2.0 Low `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`
- GitHub: CVSS:4.0 Low `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`
- Erlang Ecosystem Foundation: 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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96> (advisory, mitigation, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-21619.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-21619> (related, web)
- <https://github.com/erlang/rebar3/commit/209c02ec57c2cc3207ee0174c3af3675b8dc8f79> (related, web)
- <https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d> (fix, patch, web)
- <https://github.com/hexpm/hex/commit/314546ac432229518714cc8e3336e916b9da6305> (related, web)
- <https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95> (fix, patch, web)
- <https://github.com/hexpm/hex/commit/a9999e425d9c0f9fc8c53e7823eee898156c4d1a> (fix, patch)
- <https://github.com/hexpm/hex_core/commit/eb327f8edfe45507351e38cc0805aa12fa647f0b> (related, web)
- <https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21619> (advisory)
- <https://github.com/hexpm/hex_core> (package)
- <https://hex.pm/packages/hex_core> (package)

## Sources

- CVE List: [CVE-2026-21619](https://www.cve.org/CVERecord?id=CVE-2026-21619), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-hx9w-f2w9-9g96](https://github.com/advisories/GHSA-hx9w-f2w9-9g96), CC-BY-4.0, modified 2026-04-06
- Erlang Ecosystem Foundation: [EEF-CVE-2026-21619](https://osv.dev/vulnerability/EEF-CVE-2026-21619), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-21619](https://nvd.nist.gov/vuln/detail/CVE-2026-21619), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-21619 · Whole record: https://cve.day/CVE-2026-21619.json · Rebuilt by cve.day 2026-11-25T22:59:15.032Z
