Resource exhaustion in Hex Hexpm

CVE-2026-23940

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.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.004 (36.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-23940?
CVE-2026-23940 is a medium-severity vulnerability in Hex Hexpm, classified under Uncontrolled Resource Consumption. CVSS score: 6.5/10. Published 2026-03-13.
How severe is CVE-2026-23940?
Medium severity. CVSS v3 base score is 6.5 out of 10.