{"id":"EEF-CVE-2026-21619","summary":"Unsafe Deserialization of Erlang Terms in hex_core","details":"## Summary\n\nUncontrolled 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.\n\nThis 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.","aliases":["CVE-2026-21619","GHSA-hx9w-f2w9-9g96"],"modified":"2026-05-27T16:00:07.367997321Z","published":"2026-02-27T17:57:11.513Z","database_specific":{"cwe_ids":["CWE-400","CWE-502"],"capec_ids":["CAPEC-586","CAPEC-130"],"cpe_ids":["cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*","cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*","cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-21619.html"},{"type":"FIX","url":"https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13"},{"type":"FIX","url":"https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95"},{"type":"FIX","url":"https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d"},{"type":"PACKAGE","url":"https://hex.pm/packages/hex_core"}],"affected":[{"package":{"name":"hex_core","ecosystem":"Hex","purl":"pkg:hex/hex_core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.12.1"}]}],"versions":["0.1.0","0.1.1","0.10.0","0.10.1","0.10.2","0.10.3","0.11.0","0.12.0","0.2.0","0.2.1","0.3.0","0.4.0","0.5.0","0.5.1","0.6.0","0.6.1","0.6.10","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-21619.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/hexpm/hex_core","events":[{"introduced":"eb327f8edfe45507351e38cc0805aa12fa647f0b"},{"fixed":"cdf726095bca85ad2549d146df1e831ae93c2b13"}]}],"versions":["v0.12.0","v0.11.0","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.1","v0.7.0","v0.6.9","v0.6.8","v0.6.7","v0.6.6","v0.6.5","v0.6.4","v0.6.3","v0.6.1","v0.5.0","v0.6.0","v0.4.0","v0.3.0","v0.2.1","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-21619.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/hexpm/hex","events":[{"introduced":"314546ac432229518714cc8e3336e916b9da6305"},{"fixed":"636739f3322514e9303ca335fb630696fcbb3c95"}]}],"versions":["v2.3.1","v2.3.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-21619.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/erlang/rebar3","events":[{"introduced":"209c02ec57c2cc3207ee0174c3af3675b8dc8f79"},{"fixed":"1d4478f527e373de0b225951e53115450e0d9b9d"}]}],"versions":["3.26.0","3.25.1","3.25.0","3.24.0","3.23.0","3.22.1","3.22.0","3.21.0","3.20.0","3.19.0","3.18.0","3.17.0","3.16.1","3.15.1","3.16.0","3.15.0","3.14.4","3.14.2","3.14.1","3.14.0","3.14.0-rc2","3.14.0-rc1","3.13.0","3.12.0","3.11.1","3.11.0","3.9.1"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-21619.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}],"credits":[{"name":"Michael Lubas / Paraxial.io","type":"FINDER"},{"name":"Jonatan Männchen / EEF","type":"REMEDIATION_DEVELOPER"},{"name":"Eric Meadows-Jönsson / Hex.pm","type":"REMEDIATION_REVIEWER"}]}