Skip to main content

Hexpm CVE-2026-23940

| EUVDEUVD-2026-12050 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-03-13 EEF
7.1
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Hex.pm package repository
  2. Delivery
    Create oversized tarball package
  3. Exploit
    Upload package to Hex.pm registry
  4. Execution
    Trigger memory exhaustion during extraction
  5. Impact
    Denial of service to package publishing

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated user account on Hex.pm required. Ability to upload packages to the repository. Vulnerable hexpm versions before commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 or hex.pm instances before 2026-03-10.

Impact

The CVSS 4.0 score of 7.1 reflects a network-accessible vulnerability requiring low privileges and no user interaction, with high availability impact but no confidentiality or integrity concerns. The attack complexity is low, making it relatively easy to execute once an attacker has valid credentials to publish packages. Without EPSS data or KEV listing, and lacking evidence of public exploits or POCs, this appears to be a theoretical risk rather than an actively targeted vulnerability. The SSVC framework would likely categorize this as a medium priority given the need for authentication, manual exploitation requirement, and limited technical impact (DoS only). While the CVSS score is high, the real-world risk is moderated by the authentication requirement and the specific targeting needed.

Exploit ScenarioDerived

An attacker with valid package publishing credentials creates a malicious package containing an extremely large tarball or deeply nested archive structure, then uploads it to the target hex.pm instance. During the extraction process, the server allocates excessive memory trying to process the oversized package, eventually exhausting available RAM and causing the application instance to crash, preventing legitimate users from publishing or accessing packages until the service recovers.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 13, 2026

An uncontrolled resource consumption vulnerability in the Hex.pm package manager allows authenticated attackers to cause denial of service by uploading oversized packages that exhaust server memory during extraction. The vulnerability affects hexpm versions before commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 and hex.pm installations before March 10, 2026, with a CVSS 4.0 score of 7.1 indicating high availability impact. No active exploitation has been reported (not in KEV), no public proof-of-concept exists, and EPSS data is not available.

RemediationAI

Organizations running hex.pm instances should upgrade to versions containing commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 or ensure their deployment is updated to post-March 10, 2026 releases. As an interim mitigation, administrators should implement package size limits at the web server or load balancer level, monitor memory usage patterns for anomalies during package uploads, and consider implementing rate limiting for package publishing operations to prevent rapid successive attempts at resource exhaustion.

Affected VersionsENISA

hex.pm 0 <2026-03-10
hexpm 0 <495f01607d3eae4aed7ad09b2f54f31ec7a7df01
hexpm pkg:github/hexpm/hexpm@0 <pkg:github/hexpm/hexpm@495f01607d3eae4aed7ad09b2f54f31ec7a7df01

Affected Packages

euvd hex_pm fix: 2026-03-10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Hex.pm is the package manager for the Erlang ecosystem, used to host and distribute Erlang and Elixir packages. The vulnerability stems from CWE-400 (Uncontrolled Resource Consumption), where the application fails to properly limit memory allocation when processing uploaded package tarballs, allowing malicious actors to upload specially crafted oversized packages that consume excessive memory during the extraction phase. This affects the core package publishing and processing functionality of the hex.pm service, potentially impacting the entire Erlang/Elixir development ecosystem that relies on this infrastructure.

Know when Hexpm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF) · only source for this CVE.

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 06, 2026 - 17:17 nvd
Patch available
CVE Published
Mar 13, 2026 - 16:07 nvd
HIGH 7.1

DescriptionCVE.org

Uncontrolled Resource Consumption vulnerability in hexpm hexpm/hexpm allows Excessive Allocation. Publishing an oversized package can cause Hex.pm to run out of memory while extracting the uploaded package tarball. This can terminate the affected application instance and result in a denial of service for package publishing and potentially other package-processing functionality.

This issue affects hexpm: before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01; hex.pm: before 2026-03-10.

Executive ViewAI

Why It Matters

A denial-of-service vulnerability in Hex.pm package repository infrastructure allows attackers to crash package publishing services by uploading oversized packages, disrupting development workflows for Elixir/Erlang teams that depend on package distribution. Organizations using Hex.pm for internal or public package management face potential service interruptions that could block deployments and slow software delivery.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is unavailable: implement upload size limits at reverse proxy/load balancer (e.g., restrict package tarballs to known safe threshold); enable request timeouts on package publishing endpoints; implement rate limiting per IP/publisher; monitor application memory usage with alerts for abnormal consumption during publishing operations; restrict package publishing access to authenticated users only.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Hexpm

View all
CVE-2026-21622 CRITICAL
9.5 Mar 05

Insufficient session expiration in hexpm. Password reset tokens never expire, enabling persistent account takeover.

CVE-2026-32148 HIGH
8.9 Apr 30

Silent dependency checksum bypass in hexpm/hex package manager (versions 0.16.0 through 2.4.1) allows attackers to subst

CVE-2026-21618 HIGH
8.5 Jan 19

Improper input sanitization in hexpm's SharedAuthorizationView module allows unauthenticated attackers to inject malicio

CVE-2026-75542 HIGH
8.3 Aug 24

Incorrect authorization in the hex.pm OAuth `client_credentials` endpoint allows any API key bearing the `repositories`

CVE-2026-96612 HIGH
7.5 Oct 12

Path traversal in the Hex package manager for the Elixir/Erlang (Mix) ecosystem, versions 0.6.0 through 2.5.1, lets a ma

CVE-2026-105668 HIGH
7.1 Oct 12

Hex, the package manager used by Elixir and Erlang projects, fails to properly scope its 'release-age cooldown' protecti

CVE-2026-21621 HIGH
7.0 Mar 05

Hexpm's OAuth implementation fails to enforce read-only API key restrictions during token exchange, allowing an attacker

CVE-2026-105280 MEDIUM
6.9 Oct 12

Integrity-check bypass in the Hex package manager (hexpm hex) allows a compromised or attacker-controlled package mirror

CVE-2026-23939 MEDIUM
6.9 Feb 26

Path traversal in hexpm's Local Storage backend allows unauthenticated attackers to read sensitive files through relativ

CVE-2026-103502 MEDIUM
5.9 Oct 12

Improper TLS server-certificate validation in hex_core (0.1.0 through versions before 0.20.0) lets an attacker who alrea

CVE-2026-103503 MEDIUM
5.9 Oct 12

Improper certificate validation in Hex (the Elixir/Erlang package manager client, versions 0.20.2 through 2.5.1) allows

CVE-2026-96596 MEDIUM
5.9 Oct 14

Denial of service in Erlang OTP's stdlib erl_tar module (OTP 29.0 before 29.1.2, stdlib 8.0 before 8.1.1) allows an atta

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy