PatchSiren cyber security CVE debrief
CVE-2026-23940 hexpm CVE debrief
CVE-2026-23940 is an Uncontrolled Resource Consumption vulnerability in hexpm/hexpm. Publishing an oversized package can cause Hex.pm to run out of memory, resulting in a denial of service for package publishing and potentially other package-processing functionality. This issue affects hex.pm before 2026-03-10. The vulnerability can cause significant disruption to package publishing and processing, emphasizing the need for prompt mitigation. Defenders should assess exposure and prioritize verifying and applying the patch.
- Vendor
- hexpm
- Product
- Unknown
- CVSS
- HIGH 7.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-03-13
- Original CVE updated
- 2026-09-08
- Advisory published
- 2026-03-13
- Advisory updated
- 2026-09-08
Who should care
Defenders responsible for systems using hexpm/hexpm should assess exposure and prioritize verifying and applying the patch. This includes reviewing system configurations, monitoring for suspicious activity, and ensuring that the patch is applied to all affected systems. Additionally, defenders should consider implementing compensating controls, such as monitoring for oversized package publishing attempts, to mitigate potential impacts.
Why it matters
CVE-2026-23940 is an Uncontrolled Resource Consumption vulnerability in hexpm/hexpm that can cause a denial of service for package publishing and potentially other package-processing functionality. Defenders responsible for systems using hexpm/hexpm should assess exposure and prioritize verifying and applying the patch.
- Denial of service for package publishing
- Potential denial of service for other package-processing functionality
- Need to verify and apply the patch
- Possible impact on package processing functionality
Technical summary
The vulnerability occurs when publishing an oversized package to Hex.pm, causing it to run out of memory while extracting the uploaded package tarball. This results in a denial of service for package publishing and potentially other package-processing functionality. The issue affects hex.pm before 2026-03-10, and defenders should prioritize verifying and applying the patch (commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01). The patch addresses the vulnerability by properly handling package tarballs and preventing excessive memory allocation.
Defensive priority
Defenders should prioritize verifying and applying the patch (commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01) and assessing exposure for systems using hexpm/hexpm.
Recommended defensive actions
- Verify and apply the patch (commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01)
- Assess exposure for systems using hexpm/hexpm
- Monitor for oversized package publishing attempts
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and NVD entry provide details on the vulnerability. However, the exact scope of affected systems and versions requires verification from the official sources. The vulnerability was publicly disclosed on 2026-03-13, and defenders should verify the patch status for their systems. The patch is available at commit 495f01607d3eae4aed7ad09b2f54f31ec7a7df01.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-23940 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-23940
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-23940 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-23940
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-23940.html
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01
6b3ad84c-e1a6-4bf7-a703-f496b71e49db - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hexpm/commit/82911daf5f8fb2ab44f298e3ba22b90bc1ae3746
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcr
6b3ad84c-e1a6-4bf7-a703-f496b71e49db - Mitigation, Vendor Advisory
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-23940
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.