Unsafe Deserialization of Erlang Terms in hex_core

Summary

CVECVE-2026-21619
StatePUBLISHED
AssignerEEF
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-02-27 18:16:11 UTC
Updated2026-04-06 17:17:07 UTC
DescriptionUncontrolled 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 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.

Risk And Classification

Primary CVSS: v4.0 2 LOW from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-400 | CWE-502 | CWE-400 CWE-400 Uncontrolled Resource Consumption | CWE-502 CWE-502 Deserialization of Untrusted Data


VersionSourceTypeScoreSeverityVector
4.06b3ad84c-e1a6-4bf7-a703-f496b71e49dbSecondary2LOWCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS2LOWCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Active
Confidentiality
None
Integrity
None
Availability
Low
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Erlang Rebar3 All All All All
Application Hex Hex All All All All
Application Hex Hex Core All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Hexpm Hex Core affected eb327f8edfe45507351e38cc0805aa12fa647f0b cdf726095bca85ad2549d146df1e831ae93c2b13 git Not specified
CNA Hexpm Hex Core affected 0.1.0 0.12.1 semver Not specified
CNA Hexpm Hex affected 314546ac432229518714cc8e3336e916b9da6305 636739f3322514e9303ca335fb630696fcbb3c95 git Not specified
CNA Hexpm Hex affected 2.3.0 2.3.2 semver Not specified
CNA Erlang Rebar3 affected 209c02ec57c2cc3207ee0174c3af3675b8dc8f79 1d4478f527e373de0b225951e53115450e0d9b9d git Not specified
CNA Erlang Rebar3 affected 3.9.1 3.27.0 semver Not specified

References

ReferenceSourceLinkTags
github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95 6b3ad84c-e1a6-4bf7-a703-f496b71e49db github.com Patch
github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d 6b3ad84c-e1a6-4bf7-a703-f496b71e49db github.com Patch
cna.erlef.org/cves/CVE-2026-21619.html 6b3ad84c-e1a6-4bf7-a703-f496b71e49db cna.erlef.org
github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96 6b3ad84c-e1a6-4bf7-a703-f496b71e49db github.com Mitigation, Vendor Advisory
github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13 6b3ad84c-e1a6-4bf7-a703-f496b71e49db github.com Patch
osv.dev/vulnerability/EEF-CVE-2026-21619 6b3ad84c-e1a6-4bf7-a703-f496b71e49db osv.dev
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Michael Lubas / Paraxial.ia (en)

CNA: Jonatan Männchen / EEF (en)

CNA: Eric Meadows-Jönsson / Hex.pm (en)

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report