Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Hex | Hexpm | < 2026-03-09 |
Related Weaknesses (CWE)
References
- https://cna.erlef.org/cves/CVE-2026-23940.html
- https://github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01Patch
- https://github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcrMitigationVendor Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-23940
FAQ
What is CVE-2026-23940?
CVE-2026-23940 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 pa...
How severe is CVE-2026-23940?
CVE-2026-23940 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-23940?
Check the references section above for vendor advisories and patch information. Affected products include: Hex Hexpm.