cve.bz

CVE-2026-21619 Unsafe Deserialization of Erlang Terms in hex_core

2.0 lowEPSS 0.8%Fix available

Low (2.0). EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in hex_core 0.12.1.

On this page
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. This 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

CVSS 4.0

2.0 low
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (up from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-02-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-21619 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-21619?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-21619?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-21619 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
erlang rebar3from 3.9.1 before 3.27.0
hexpm hexfrom 2.3.0 before 2.3.2
hexpm hex_corefrom 0.1.0 before 0.12.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-21619Hexhex_core>=0.1.0 <0.12.10.12.1
EEF-CVE-2026-216193.26.0, 3.25.1, 3.25.0, 3.24.0, 3.23.0 and 22 moreno fix published
EEF-CVE-2026-21619v2.3.1, v2.3.0no fix published
EEF-CVE-2026-21619v0.12.0, v0.11.0, v0.10.3, v0.10.2, v0.10.1 and 25 moreno fix published
GHSA-hx9w-f2w9-9g96Hexhex_core<0.12.10.12.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12rebar3no fix listedDEBIAN-CVE-2026-21619
Debian13rebar3, erlang-hexno fix listedDEBIAN-CVE-2026-21619
Debian14erlang-hex2.4.2-2DEBIAN-CVE-2026-21619
Debian14rebar33.27.0-1DEBIAN-CVE-2026-21619
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morerebar3no fix listedUBUNTU-CVE-2026-21619

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON