CVE-2026-23940 in Hexpm
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 pu...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Hex | Hexpm | < 2026-03-09 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 hex.pm: before 2026-03-10; hexpm/hexpm: from 82911daf5f8fb2ab44f298e3ba22b90bc1ae3746 before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-23940 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-274174-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-03-13 |
| Last modified | 2026-11-20 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-400: Uncontrolled Resource Consumption (DoS)
Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.
Related attack patterns (CAPEC)
CAPEC-147 XML Ping of the Death via CWE-400
CAPEC-492 Regular Expression Exponential Blowup via CWE-400
CAPEC-227 Sustained Client Engagement via CWE-400
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An Uncontrolled Resource Consumption vulnerability in hexpm/hexpm allows attackers to cause excessive memory allocation by publishing oversized packages, leading to denial of service.
An attacker can exploit this vulnerability by uploading a large package to Hex.pm, which can cause the application to exhaust its memory resources while attempting to extract the package tarball.
Questions
What is CVE-2026-23940?
An Uncontrolled Resource Consumption vulnerability in hexpm/hexpm allows attackers to cause excessive memory allocation by publishing oversized packages, leading to denial of service.
What is the CVSS score for CVE-2026-23940?
CVE-2026-23940 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.7%.
Is CVE-2026-23940 actively exploited?
No confirmed active exploitation of CVE-2026-23940 as of 2026-11-21.
How do I remediate CVE-2026-23940?
Priority: HIGH. PSIRT: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
What systems are affected by CVE-2026-23940?
CVE-2026-23940 affects Hex Hexpm.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Hex","product":"Hexpm","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-20.