Home / erlang / rebar3 / CVE-2026-105274
CVE-2026-105274: is it exploited, and which versions of erlang rebar3 are affected and fixed?
CVE-2026-105274 is an improper Handling of Highly Compressed Data (Data Amplification) vulnerability in erlang rebar3. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: rebar3 from 3.9.1 before 3.27.3, hex from 2.1.0 before 2.5.2, hex 2.6.0 and later and 1 more (CVE record by EEF). Fixed in 3.27.3, 2.5.2 and 0.20.0 (CVE record by EEF). Severity: Low (2.1, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-105274?
hex_core decompresses registry and Erlang term API responses without size limits
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in hexpm hex_core allows an untrusted repository mirror, or a server answering hex_core's API requests, to exhaust the memory of the Erlang VM running hex_core. The same code is vendored in Hex (mix_hex_repo, mix_hex_api) and rebar3 (r3_hex_repo, r3_hex_api). hex_repo:get_names/1, hex_repo:get_versions/1, hex_repo:get_package/2 and hex_repo:get_policy/2 decompress the registry response with zlib:gunzip/1 and decode the signed envelope before verifying its signature. A mirror doesn't have the repository's private key, but it chooses the compressed bytes, so a small response decompresses into an envelope of any size before the signature check rejects it. hex_api decodes responses with the application/vnd.hex+erlang content type through hex_safe_binary_to_term:safe_binary_to_term/1, which calls binary_to_term(Binary, [safe]). The safe option prevents atom creation, but it accepts compressed terms and doesn't limit the size of the decoded term, and the check that rejects functions and ports runs after the term has been built. The fix for CVE-2026-21619 added the safe option and that check without bounding the decoded size. This issue affects rebar3: from 3.9.1 before 3.27.3; hex: from 2.1.0 before 2.5.2 and from 2.6.0 onward; hex_core: from 0.1.0 before 0.20.0.
From the CVE record by EEF, last updated November 20, 2026, 06:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| erlang | rebar3 | from 3.9.1 before 3.27.3 | 3.27.3 |
| erlang | rebar3 erlang/rebar3 | not stated | |
| hexpm | hex | from 2.1.0 before 2.5.2 2.6.0 and later | 2.5.2 |
| hexpm | hex hexpm/hex | not stated | |
| hexpm | hex_core | from 0.1.0 before 0.20.0 | 0.20.0 |
| hexpm | hex_core hexpm/hex_core | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-105274?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-105274 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 15, 2026)
- EPSS
- 0.58% probability of exploitation activity in the next 30 days, percentile 49.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
How do I fix it? (from the CVE record)
Upgrade hex_core to 0.20.0 or later. Registry resources larger than 16 MiB after decompression are rejected with {too_big_uncompressed, MaxSize}, configurable with registry_max_uncompressed_size. Upgrade Hex to 2.5.2 or later, which vendors hex_core 0.20.0. No rebar3 release vendors hex_core 0.20.0 yet.
Is there a workaround? (from the CVE record)
Point repository URLs at repo.hex.pm or a mirror you operate, and the API URL at hex.pm.
Where are the vendor advisories and references?
- GitHub Advisory related, vendor-advisory
- EEF CNA record for CVE-2026-105274 related
- OSV record EEF-CVE-2026-105274 related
- Introducing commit 209c02e in erlang/rebar3 related
- Fix commit 360838a in erlang/rebar3 patch
- Introducing commit 671f695 in hexpm/hex related
- Fix commit d8b60ee in hexpm/hex patch
- Introducing commit fbb6d9d in hexpm/hex_core related
- Fix commit ebe25d1 in hexpm/hex_core patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (analyst)
- Eric Meadows-Jönsson (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 10, 2026
- Published
- October 12, 2026, 16:43 UTC
- CVE record updated
- November 20, 2026, 06:01 UTC by EEF
- NVD
- Deferred, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect rebar3?
- Oct 14, 2026CVE-2026-96596 Erlang OTP: infinite loop (denial of service)
- Oct 12, 2026CVE-2026-103060 erlang rebar3: path traversal (reading or writing files outside the intended folder)
- Feb 27, 2026CVE-2026-21619 erlang rebar3: denial of service (uncontrolled resource consumption)
- Sep 2, 2020CVE-2020-13802 Erlang Rebar3: OS command injection
- Feb 4, 2019CVE-2019-1000014 Erlang Rebar3: n/a
Questions about CVE-2026-105274
Is CVE-2026-105274 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.58% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of erlang rebar3 are affected by CVE-2026-105274?
rebar3 from 3.9.1 before 3.27.3, hex from 2.1.0 before 2.5.2, hex 2.6.0 and later and hex_core from 0.1.0 before 0.20.0, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-105274?
3.27.3, 2.5.2 and 0.20.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-105274?
Low (2.1, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-105274?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.