{"id":"CVE-2026-23940","state":"PUBLISHED","title":"Denial of Service via Oversized Package Upload","description":"Uncontrolled Resource Consumption vulnerability in hexpm hexpm/hexpm allows Excessive Allocation.\n\nPublishing 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.\n\nThis issue affects hex.pm: before 2026-03-10.","publishedAt":"2026-03-13T16:07:53.328Z","updatedAt":"2026-09-08T13:32:42.745Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"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","source":"EEF"},"assigner":"EEF","products":["hexpm hexpm"],"affected":[{"vendor":"hexpm","product":"hexpm","packageName":"hex.pm","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2026-03-10","versionType":"date"}],"collectionURL":"https://hex.pm","cpes":["cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"]},{"vendor":"hexpm","product":"hexpm","packageName":"hexpm/hexpm","packageURL":"pkg:github/hexpm/hexpm","defaultStatus":"unaffected","versions":[{"version":"82911daf5f8fb2ab44f298e3ba22b90bc1ae3746","status":"affected","lessThan":"495f01607d3eae4aed7ad09b2f54f31ec7a7df01","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"],"repo":"https://github.com/hexpm/hexpm"}],"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/82911daf5f8fb2ab44f298e3ba22b90bc1ae3746","https://github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23940.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23940","state":"PUBLISHED","datePublished":"2026-03-13T16:07:53.328Z","dateUpdated":"2026-09-08T13:32:42.745Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-01-19T14:23:14.343Z"},"containers":{"cna":{"title":"Denial of Service via Oversized Package Upload","descriptions":[{"lang":"en","value":"Uncontrolled Resource Consumption vulnerability in hexpm hexpm/hexpm allows Excessive Allocation.\n\nPublishing 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.\n\nThis issue affects hex.pm: before 2026-03-10."}],"affected":[{"vendor":"hexpm","product":"hexpm","packageName":"hex.pm","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2026-03-10","versionType":"date"}],"collectionURL":"https://hex.pm","cpes":["cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"]},{"vendor":"hexpm","product":"hexpm","packageName":"hexpm/hexpm","packageURL":"pkg:github/hexpm/hexpm","defaultStatus":"unaffected","versions":[{"version":"82911daf5f8fb2ab44f298e3ba22b90bc1ae3746","status":"affected","lessThan":"495f01607d3eae4aed7ad09b2f54f31ec7a7df01","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"],"repo":"https://github.com/hexpm/hexpm"}],"references":[{"url":"https://github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcr","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-23940.html","name":"EEF CNA record for CVE-2026-23940","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-23940","name":"OSV record EEF-CVE-2026-23940","tags":["related"]},{"url":"https://github.com/hexpm/hexpm/commit/82911daf5f8fb2ab44f298e3ba22b90bc1ae3746","name":"Introducing commit 82911da in hexpm/hexpm","tags":["related"]},{"url":"https://github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01","name":"Fix commit 495f016 in hexpm/hexpm","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-08T13:32:42.745Z"},"credits":[{"lang":"en","type":"finder","value":"Joud Zakharia / zentrust partners GmbH"},{"lang":"en","type":"remediation developer","value":"Eric Meadows-Jönsson / Hex.pm"}],"datePublic":"2026-09-08T13:25:58.000Z","impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ul>\n<li>Prevent large package uploads by enforcing upload size limits at the reverse proxy or load balancer level.</li>\n</ul>"},{"base64":false,"type":"text/markdown","value":"* Prevent large package uploads by enforcing upload size limits at the reverse proxy or load balancer level."}],"value":"* Prevent large package uploads by enforcing upload size limits at the reverse proxy or load balancer level."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-16T17:06:18.779960Z","id":"CVE-2026-23940","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-16T17:06:25.539Z"}}]}}}