CVE-2026-23940
High 7.1No known exploitationFix availableDenial of Service via Oversized Package Upload
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 45% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-400
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- * Prevent large package uploads by enforcing upload size limits at the reverse proxy or load balancer level. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| hex | hexpm | all versions before 2026-03-09 | 2026-03-09 | NIST NVD |
| hexpm | hexpm | from 82911daf5f8fb2ab44f298e3ba22b90bc1ae3746 before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 | 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 | CVE Program |
| hexpm | hexpm | all versions before 2026-03-10 | 2026-03-10 | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- Fix commit 495f016 in hexpm/hexpm (opens in a new tab)patch
- https://github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcr (opens in a new tab)mitigation, related, vendor advisory, vendor-advisory
- EEF CNA record for CVE-2026-23940 (opens in a new tab)related
- Introducing commit 82911da in hexpm/hexpm (opens in a new tab)related
- OSV record EEF-CVE-2026-23940 (opens in a new tab)related