CVE-2026-23940: Denial of Service via Oversized Package Upload
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
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23940?
CVE-2026-23940 is classified as a Denial of Service vulnerability due to uncontrolled resource consumption.
How do I fix CVE-2026-23940?
To mitigate CVE-2026-23940, ensure that your version of hexpm/hexpm is updated beyond commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01.
What impact does CVE-2026-23940 have on hexpm/hexpm?
CVE-2026-23940 can cause hexpm/hexpm to run out of memory, leading to service disruption when oversized packages are uploaded.
Which versions of hexpm/hexpm are affected by CVE-2026-23940?
CVE-2026-23940 affects versions of hexpm/hexpm prior to commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01.
Is CVE-2026-23940 related to package uploads?
Yes, CVE-2026-23940 is specifically related to Denial of Service caused by excessive allocation during oversized package uploads.