Quick answers
- Is CVE-2026-105274 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-105274 being exploited in the wild.
- How severe is CVE-2026-105274?
- Informational severity, published 12 October 2026.
- Which products and versions are affected?
- Erlang-Solutions Rebar3 3.9.1 to before 3.27.3; Hexpm Hex 2.1.0 to before 2.5.2; Hexpm Hex Core 0.1.0 to before 0.20.0.
- Is there a fix for CVE-2026-105274?
- Yes: fixed in hex_core 0.20.0; Hex 2.5.2; rebar3 3.27.3. Until then: Restrict package repository access to trusted mirrors and configure repository verification to use pinned public keys where possible to prevent man-in-the-middle attacks from untrusted servers.</anigation> </invoke> Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-105274 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-105274?
- Check whether you run Erlang-Solutions Rebar3, Hexpm Hex or Hexpm Hex Core at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Fixed in: hex_core 0.20.0; Hex 2.5.2; rebar3 3.27.3
Restrict package repository access to trusted mirrors and configure repository verification to use pinned public keys where possible to prevent man-in-the-middle attacks from untrusted servers.</anigation> </invoke>
Technical details
The vulnerability is a data amplification flaw in decompression handling: hex_repo functions decompress zlib responses and decode signed envelopes before verifying signatures, allowing a mirror to provide small compressed payloads that expand to arbitrary sizes in memory. Additionally, hex_api's safe_binary_to_term/1 accepts compressed Erlang terms and builds the full decoded term before validating its structure, providing no size limits on decompressed output.
Affected products
- hexpm hex_core 0.1.0 to before 0.20.0
- hexpm Hex 2.1.0 to before 2.5.2
- erlang-solutions rebar3 3.9.1 to before 3.27.3
Timeline
- 2026-10-12: disclosed