CVE-2026-23940
7.1
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| hexpm | hexpm | 0 < 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 | affected |
| hexpm | hex.pm | 0 < 2026-03-10 | affected |
Weaknesses
- CWE-400: CWE-400 Uncontrolled Resource Consumption
Workarounds
- Prevent large package uploads by enforcing upload size limits at the reverse proxy or load balancer level.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
References
- https://github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcr
- https://cna.erlef.org/cves/CVE-2026-23940.html
- https://osv.dev/vulnerability/EEF-CVE-2026-23940
- https://github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.