{"id":"CVE-2026-21619","state":"PUBLISHED","title":"Unsafe Deserialization of Erlang Terms in hex_core","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.\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.","publishedAt":"2026-02-27T17:57:11.513Z","updatedAt":"2026-05-27T15:40:33.166Z","severity":{"score":2,"label":"Low","version":"4.0","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","source":"EEF"},"assigner":"EEF","products":["hexpm hex_core","hexpm hex","erlang rebar3"],"affected":[{"vendor":"hexpm","product":"hex_core","packageName":"hexpm/hex_core","packageURL":"pkg:github/hexpm/hex_core","defaultStatus":"unaffected","versions":[{"version":"eb327f8edfe45507351e38cc0805aa12fa647f0b","status":"affected","lessThan":"cdf726095bca85ad2549d146df1e831ae93c2b13","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"],"modules":["hex_api"],"programFiles":["src/hex_api.erl"],"programRoutines":[{"name":"hex_core:request/4"}],"repo":"https://github.com/hexpm/hex_core"},{"vendor":"hexpm","product":"hex_core","packageName":"hex_core","packageURL":"pkg:hex/hex_core","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","lessThan":"0.12.1","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"],"modules":["hex_api"],"programFiles":["src/hex_api.erl"],"programRoutines":[{"name":"hex_core:request/4"}],"repo":"https://github.com/hexpm/hex_core"},{"vendor":"hexpm","product":"hex","packageName":"hexpm/hex","packageURL":"pkg:github/hexpm/hex","defaultStatus":"unaffected","versions":[{"version":"314546ac432229518714cc8e3336e916b9da6305","status":"affected","lessThan":"636739f3322514e9303ca335fb630696fcbb3c95","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"],"modules":["mix_hex_api"],"programFiles":["src/mix_hex_api.erl"],"programRoutines":[{"name":"mix_hex_api:request/4"}],"repo":"https://github.com/hexpm/hex"},{"vendor":"hexpm","product":"hex","packageName":"hex","packageURL":"pkg:otp/hex?repository_url=https:%2F%2Fgithub.com%2Fhexpm%2Fhex.git&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Fhexpm%2Fhex.git","defaultStatus":"unaffected","versions":[{"version":"2.3.0","status":"affected","lessThan":"2.3.2","versionType":"semver"}],"cpes":["cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"],"modules":["mix_hex_api"],"programFiles":["src/mix_hex_api.erl"],"programRoutines":[{"name":"mix_hex_api:request/4"}],"repo":"https://github.com/hexpm/hex"},{"vendor":"erlang","product":"rebar3","packageName":"erlang/rebar3","packageURL":"pkg:github/erlang/rebar3","defaultStatus":"unaffected","versions":[{"version":"209c02ec57c2cc3207ee0174c3af3675b8dc8f79","status":"affected","lessThan":"1d4478f527e373de0b225951e53115450e0d9b9d","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"],"modules":["r3_hex_api"],"programFiles":["apps/rebar/src/vendored/r3_hex_api.erl"],"programRoutines":[{"name":"r3_hex_api:request/4"}],"repo":"https://github.com/erlang/rebar3"},{"vendor":"erlang","product":"rebar3","packageName":"rebar3","packageURL":"pkg:otp/rebar3?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Frebar3.git&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Frebar3.git","defaultStatus":"unaffected","versions":[{"version":"3.9.1","status":"affected","lessThan":"3.27.0","versionType":"semver"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"],"modules":["r3_hex_api"],"programFiles":["apps/rebar/src/vendored/r3_hex_api.erl"],"programRoutines":[{"name":"r3_hex_api:request/4"}],"repo":"https://github.com/erlang/rebar3"}],"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/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13","https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95","https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d"],"weaknesses":["CWE-400","CWE-502"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/21xxx/CVE-2026-21619.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-21619","state":"PUBLISHED","datePublished":"2026-02-27T17:57:11.513Z","dateUpdated":"2026-05-27T15:40:33.166Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-01-01T03:46:45.933Z"},"containers":{"cna":{"title":"Unsafe Deserialization of Erlang Terms in hex_core","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"hexpm","product":"hex_core","packageName":"hexpm/hex_core","packageURL":"pkg:github/hexpm/hex_core","defaultStatus":"unaffected","versions":[{"version":"eb327f8edfe45507351e38cc0805aa12fa647f0b","status":"affected","lessThan":"cdf726095bca85ad2549d146df1e831ae93c2b13","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"],"modules":["hex_api"],"programFiles":["src/hex_api.erl"],"programRoutines":[{"name":"hex_core:request/4"}],"repo":"https://github.com/hexpm/hex_core"},{"vendor":"hexpm","product":"hex_core","packageName":"hex_core","packageURL":"pkg:hex/hex_core","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","lessThan":"0.12.1","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"],"modules":["hex_api"],"programFiles":["src/hex_api.erl"],"programRoutines":[{"name":"hex_core:request/4"}],"repo":"https://github.com/hexpm/hex_core"},{"vendor":"hexpm","product":"hex","packageName":"hexpm/hex","packageURL":"pkg:github/hexpm/hex","defaultStatus":"unaffected","versions":[{"version":"314546ac432229518714cc8e3336e916b9da6305","status":"affected","lessThan":"636739f3322514e9303ca335fb630696fcbb3c95","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"],"modules":["mix_hex_api"],"programFiles":["src/mix_hex_api.erl"],"programRoutines":[{"name":"mix_hex_api:request/4"}],"repo":"https://github.com/hexpm/hex"},{"vendor":"hexpm","product":"hex","packageName":"hex","packageURL":"pkg:otp/hex?repository_url=https:%2F%2Fgithub.com%2Fhexpm%2Fhex.git&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Fhexpm%2Fhex.git","defaultStatus":"unaffected","versions":[{"version":"2.3.0","status":"affected","lessThan":"2.3.2","versionType":"semver"}],"cpes":["cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"],"modules":["mix_hex_api"],"programFiles":["src/mix_hex_api.erl"],"programRoutines":[{"name":"mix_hex_api:request/4"}],"repo":"https://github.com/hexpm/hex"},{"vendor":"erlang","product":"rebar3","packageName":"erlang/rebar3","packageURL":"pkg:github/erlang/rebar3","defaultStatus":"unaffected","versions":[{"version":"209c02ec57c2cc3207ee0174c3af3675b8dc8f79","status":"affected","lessThan":"1d4478f527e373de0b225951e53115450e0d9b9d","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"],"modules":["r3_hex_api"],"programFiles":["apps/rebar/src/vendored/r3_hex_api.erl"],"programRoutines":[{"name":"r3_hex_api:request/4"}],"repo":"https://github.com/erlang/rebar3"},{"vendor":"erlang","product":"rebar3","packageName":"rebar3","packageURL":"pkg:otp/rebar3?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Frebar3.git&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Frebar3.git","defaultStatus":"unaffected","versions":[{"version":"3.9.1","status":"affected","lessThan":"3.27.0","versionType":"semver"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"],"modules":["r3_hex_api"],"programFiles":["apps/rebar/src/vendored/r3_hex_api.erl"],"programRoutines":[{"name":"r3_hex_api:request/4"}],"repo":"https://github.com/erlang/rebar3"}],"references":[{"url":"https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-21619.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-21619","tags":["related"]},{"url":"https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13","tags":["patch"]},{"url":"https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95","tags":["patch"]},{"url":"https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2,"baseSeverity":"LOW","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-05-27T15:40:33.166Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*","versionEndExcluding":"0.12.1","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"AND"},{"cpeMatch":[{"criteria":"cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*","versionEndExcluding":"2.3.2","versionStartIncluding":"2.3.0","vulnerable":true}],"negate":false,"operator":"AND"},{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*","versionEndExcluding":"3.27.0","versionStartIncluding":"3.9.1","vulnerable":true}],"negate":false,"operator":"AND"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Michael Lubas / Paraxial.io"},{"lang":"en","type":"remediation developer","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation reviewer","value":"Eric Meadows-Jönsson / Hex.pm"}],"impacts":[{"capecId":"CAPEC-586","descriptions":[{"lang":"en","value":"CAPEC-586 Object Injection"}]},{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-27T19:08:49.652728Z","id":"CVE-2026-21619","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-27T19:08:57.019Z"}}]}}}