{"id":"CVE-2026-21619","summary":"Unsafe Deserialization of Erlang Terms in hex_core","details":"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.\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":["EEF-CVE-2026-21619","GHSA-hx9w-f2w9-9g96"],"modified":"2026-08-12T03:51:22.848385135Z","published":"2026-02-27T17:57:11.513Z","database_specific":{"cwe_ids":["CWE-400","CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21619.json","unresolved_ranges":[{"extracted_events":[{"introduced":"eb327f8edfe45507351e38cc0805aa12fa647f0b"},{"fixed":"cdf726095bca85ad2549d146df1e831ae93c2b13"},{"introduced":"314546ac432229518714cc8e3336e916b9da6305"},{"fixed":"636739f3322514e9303ca335fb630696fcbb3c95"},{"introduced":"209c02ec57c2cc3207ee0174c3af3675b8dc8f79"},{"fixed":"1d4478f527e373de0b225951e53115450e0d9b9d"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"EEF"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-21619.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-21619"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21619.json"},{"type":"ADVISORY","url":"https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21619"},{"type":"FIX","url":"https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d"},{"type":"FIX","url":"https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95"},{"type":"FIX","url":"https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13"},{"type":"PACKAGE","url":"https://github.com/erlang/rebar3"},{"type":"PACKAGE","url":"https://github.com/hexpm/hex"},{"type":"PACKAGE","url":"https://github.com/hexpm/hex_core"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/erlang/rebar3","events":[{"introduced":"df53ad18ff5330660bd102d3a4071cb0962c8dda"},{"fixed":"619df55d9dab109cbd1b5d9ed1d45c93f5450e24"},{"fixed":"1d4478f527e373de0b225951e53115450e0d9b9d"}],"database_specific":{"extracted_events":[{"introduced":"3.9.1"},{"fixed":"3.27.0"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"}},{"type":"GIT","repo":"https://github.com/hexpm/hex","events":[{"introduced":"62c88751feefc7a27b14b99f7fa405a48daf2521"},{"fixed":"520a3838751eefcb27900ba67fddd1864c055a81"},{"fixed":"636739f3322514e9303ca335fb630696fcbb3c95"}],"database_specific":{"cpe":"cpe:2.3:a:hex:hex:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.3.0"},{"fixed":"2.3.2"}],"source":["CPE_RANGE","REFERENCES"]}},{"type":"GIT","repo":"https://github.com/hexpm/hex_core","events":[{"introduced":"a2c868584104380dcd0d712594417f92179285e8"},{"fixed":"0573013a21a676fb85a0e30db49f81c44ec8f97d"},{"fixed":"cdf726095bca85ad2549d146df1e831ae93c2b13"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:hex:hex_core:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.1.0"},{"fixed":"0.12.1"}]}}],"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","v2.3.1","v2.3.0","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://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21619.json"}}],"schema_version":"1.9.0","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"}]}