CVE-2026-23940

Denial of Service via Oversized Package Upload

Published Mar 13, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an uncontrolled resource consumption flaw that allows an attacker to trigger excessive memory usage by uploading an oversized package tarball. When Hex.pm extracts the tarball it can run out of memory, causing the application instance to terminate. The resultant denial of service affects package publishing and other package-processing functions.

Affected Systems

Affected versions include hexpm:hexpm before commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 and hexpm:hexpm before 2026‑03‑10. These releases run the Hex.pm platform that hosts Elixir packages and are therefore susceptible to the denial‑of‑service noted above.

Risk and Exploitability

CVSS score 7.1 indicates a medium‑to‑high impact, but the EPSS score is below 1%, suggesting low current exploitation likelihood, and the vulnerability is not listed in the KEV catalog. Attackers would need the ability to publish a package; by sending an oversized upload to the Hex.pm endpoint, the memory exhaustion can be triggered. While the risk is moderate, any successful exploitation would cause a full service outage for the affected instance.

Remediation

Vendor Workaround

* Prevent large package uploads by enforcing upload size limits at the reverse proxy or load balancer level.


OpenCVE Recommended Actions

  • Update Hex.pm to commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 or later to address the excess allocation issue
  • Enforce strict upload size limits at the reverse proxy or load balancer to block oversized package submissions
  • Configure real‑time monitoring of memory usage for the Hex.pm service to detect and alert on anomalous spikes

Generated by OpenCVE AI on November 22, 2026 at 23:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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. 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.
Type Values Removed Values Added
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 hexpm: before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01; hex.pm: before 2026-03-10. 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.
References
Type Values Removed Values Added
First Time appeared Hex
Hex hexpm
CPEs cpe:2.3:a:hex:hexpm:*:*:*:*:*:*:*:*
Vendors & Products Hex
Hex hexpm
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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 hexpm: before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01; hex.pm: before 2026-03-10.
Title Denial of Service via Oversized Package Upload
First Time appeared Hexpm
Hexpm hexpm
Weaknesses CWE-400
CPEs cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*
Vendors & Products Hexpm
Hexpm hexpm
References
Metrics cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
EEF
Published
Updated
Nov 20, 2026, 6:03 AM
Reserved
Jan 19, 2026, 2:23 PM
Status
Modified
Published
Mar 13, 2026, 7:54 PM
Modified
Nov 20, 2026, 6:17 AM