CVEfocus › CVE database › CVE-2026-21619

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

CVSS 2.0 LowEPSS 1.4% (higher than 73% of CVEs)Published 2026-02-27Updated 2026-11-20Assigner: EEF

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.

CWE-400CWE-502

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
3Under investigation
1Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rebar3Fix pendingUBUNTU-CVE-2026-21619
Ubuntu 26.04erlang-hexNot affected
vulnerable_code_not_present
Ubuntu 26.04rebar3Under investigationUBUNTU-CVE-2026-21619
Ubuntu 25.10erlang-hexNot affected
vulnerable_code_not_present
Ubuntu 25.10rebar3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-21619
Ubuntu 24.04erlang-hexNot affected
vulnerable_code_not_present
Ubuntu 24.04rebar3Under investigationUBUNTU-CVE-2026-21619
Ubuntu 22.04rebar3Under investigationUBUNTU-CVE-2026-21619
Debian 14erlang-hexFixed2.4.2-2DEBIAN-CVE-2026-21619
Debian 14rebar3Fixed3.27.0-1DEBIAN-CVE-2026-21619
Debian 13erlang-hexFix pendingDEBIAN-CVE-2026-21619
Debian 13rebar3Fix pendingDEBIAN-CVE-2026-21619
Debian 12rebar3Fix pendingDEBIAN-CVE-2026-21619

What the vendor says

As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.