{"id":"CVE-2026-21619","aliases":["EEF-CVE-2026-21619","GHSA-hx9w-f2w9-9g96"],"title":"Unsafe Deserialization of Erlang Terms in hex_core","titleSource":"EEF","descriptionSource":"OSV","description":"## 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.\n\nThis 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 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.","severity":"low","score":2,"published":"2026-02-27T17:57:11.513Z","modified":"2026-11-20T17:23:06.938Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"hex_core","sources":[{"name":"OSV · EEF-CVE-2026-21619","url":"https://osv.dev/vulnerability/EEF-CVE-2026-21619"}],"ranges":[{"events":[{"introduced":"0.1.0"},{"fixed":"0.12.1"}],"type":"SEMVER"}],"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"],"fixed":["0.12.1"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"209c02ec57c2cc3207ee0174c3af3675b8dc8f79"},{"fixed":"1d4478f527e373de0b225951e53115450e0d9b9d"}],"type":"GIT","repo":"https://github.com/erlang/rebar3"}],"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"]},{"ranges":[{"events":[{"introduced":"314546ac432229518714cc8e3336e916b9da6305"},{"fixed":"636739f3322514e9303ca335fb630696fcbb3c95"},{"fixed":"a9999e425d9c0f9fc8c53e7823eee898156c4d1a"}],"type":"GIT","repo":"https://github.com/hexpm/hex"}],"versions":["v2.3.1","v2.3.0"]},{"ranges":[{"events":[{"introduced":"eb327f8edfe45507351e38cc0805aa12fa647f0b"},{"fixed":"cdf726095bca85ad2549d146df1e831ae93c2b13"}],"type":"GIT","repo":"https://github.com/hexpm/hex_core"}],"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"]}],"references":["https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96","https://cna.erlef.org/cves/CVE-2026-21619.html","https://osv.dev/vulnerability/EEF-CVE-2026-21619","https://github.com/erlang/rebar3/commit/209c02ec57c2cc3207ee0174c3af3675b8dc8f79","https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d","https://github.com/hexpm/hex/commit/314546ac432229518714cc8e3336e916b9da6305","https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95","https://github.com/hexpm/hex/commit/a9999e425d9c0f9fc8c53e7823eee898156c4d1a","https://github.com/hexpm/hex_core/commit/eb327f8edfe45507351e38cc0805aa12fa647f0b","https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13","https://hex.pm/packages/hex_core"],"sources":[{"name":"CVE","id":"CVE-2026-21619","modified":"2026-11-20T05:55:42.123Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-21619"},{"name":"OSV","id":"EEF-CVE-2026-21619","modified":"2026-11-20T17:23:06.938221525Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-21619"}],"assessments":[{"source":"EEF","vector":"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","score":2},{"source":"OSV","vector":"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","score":2}],"cve":{"records":[{"id":"CVE-2026-21619","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-01-01T03:46:45.933Z","published":"2026-02-27T17:57:11.513Z","modified":"2026-11-20T05:55:42.123Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-20T05:55:42.123Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-02-27T19:08:57.019Z"}],"references":[{"url":"https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-21619.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-21619","tags":["related"],"source":"EEF"},{"url":"https://github.com/erlang/rebar3/commit/209c02ec57c2cc3207ee0174c3af3675b8dc8f79","tags":["related"],"source":"EEF"},{"url":"https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d","tags":["patch"],"source":"EEF"},{"url":"https://github.com/hexpm/hex/commit/314546ac432229518714cc8e3336e916b9da6305","tags":["related"],"source":"EEF"},{"url":"https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95","tags":["patch"],"source":"EEF"},{"url":"https://github.com/hexpm/hex/commit/a9999e425d9c0f9fc8c53e7823eee898156c4d1a","tags":["patch"],"source":"EEF"},{"url":"https://github.com/hexpm/hex_core/commit/eb327f8edfe45507351e38cc0805aa12fa647f0b","tags":["related"],"source":"EEF"},{"url":"https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","source":"EEF"},{"id":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*","versionEndExcluding":"3.27.0","versionStartIncluding":"3.9.1","vulnerable":true},{"criteria":"cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*","versionEndExcluding":"2.3.2","versionStartIncluding":"2.3.0","vulnerable":true},{"criteria":"cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*","versionEndExcluding":"0.12.1","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-02-27T19:08:49.652728Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"erlang","name":"rebar3","platforms":[],"versions":[{"version":"3.9.1","status":"affected","lessThan":"3.27.0","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:otp/rebar3?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Frebar3&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Frebar3.git","cpes":["cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-21619"},{"vendor":"erlang","name":"rebar3","platforms":[],"versions":[{"version":"209c02ec57c2cc3207ee0174c3af3675b8dc8f79","status":"affected","lessThan":"1d4478f527e373de0b225951e53115450e0d9b9d","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/erlang/rebar3","cpes":["cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-21619"},{"vendor":"hexpm","name":"hex","platforms":[],"versions":[{"version":"2.3.0","status":"affected","lessThan":"2.3.2","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:otp/hex?repository_url=https:%2F%2Fgithub.com%2Fhexpm%2Fhex&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Fhexpm%2Fhex.git","cpes":["cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-21619"},{"vendor":"hexpm","name":"hex","platforms":[],"versions":[{"version":"314546ac432229518714cc8e3336e916b9da6305","status":"affected","lessThan":"*","versionType":"git","changes":[{"at":"636739f3322514e9303ca335fb630696fcbb3c95","status":"unaffected"},{"at":"a9999e425d9c0f9fc8c53e7823eee898156c4d1a","status":"unaffected"}]}],"defaultStatus":"unaffected","packageURL":"pkg:github/hexpm/hex","cpes":["cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-21619"},{"vendor":"hexpm","name":"hex_core","platforms":[],"versions":[{"version":"0.1.0","status":"affected","lessThan":"0.12.1","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/hex_core","packageIdentity":{"ecosystem":"Hex","name":"hex_core"},"cpes":["cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-21619"},{"vendor":"hexpm","name":"hex_core","platforms":[],"versions":[{"version":"eb327f8edfe45507351e38cc0805aa12fa647f0b","status":"affected","lessThan":"cdf726095bca85ad2549d146df1e831ae93c2b13","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/hexpm/hex_core","cpes":["cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-21619"}],"remediation":[],"observedAt":"2026-11-20T18:02:39.238Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T12:30:30.980Z"},"coverage":[{"source":"NVD","status":"refresh-failed","attemptedAt":"2026-11-20T03:40:31.318Z"},{"source":"GHSA","status":"refresh-failed","attemptedAt":"2026-11-20T03:40:32.867Z"},{"source":"EUVD","status":"refresh-failed","attemptedAt":"2026-11-20T03:40:32.869Z"},{"source":"EPSS","status":"refresh-failed","attemptedAt":"2026-11-20T03:40:32.870Z"}],"evidence":[],"aiSummary":{"text":"The hex_core, hex, and rebar3 products are vulnerable to Uncontrolled Resource Consumption and Deserialization of Untrusted Data, affecting versions hex_core:0.1.0 before 0.12.1, hex:2.3.0 before 2.3.2, and rebar3:3.9.1 before 3.27.0. This may allow Object Injection and Excessive Allocation.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T18:06:13.484Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-21619"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-21619"}]}}