{"schemaVersion":3,"id":"CVE-2026-23940","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-03-13T16:07:53.328Z","modified":"2026-09-08T13:32:42.745Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.1,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.1,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00457,"percentile":0.38276,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.017,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0044},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00457,"percentile":0.38276}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00457,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00457,"percentile":0.38276}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"hex","product":"hexpm","name":"hexpm","label":"hexpm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2026-03-09","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026-03-09","eol":null,"hubHref":"/vendor/hex/hexpm"},{"vendor":"hexpm","product":"hexpm","name":"hexpm","label":"hexpm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2026-03-10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 82911daf5f8fb2ab44f298e3ba22b90bc1ae3746, < 495f01607d3eae4aed7ad09b2f54f31ec7a7df01","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026-03-10 | ≥ 82911daf5f8fb2ab44f298e3ba22b90bc1ae3746, < 495f01607d3eae4aed7ad09b2f54f31ec7a7df01","eol":null,"hubHref":"/vendor/hexpm/hexpm"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcr","label":"github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcr","hostname":"github.com","tags":["Vendor Advisory","Related","Mitigation"]},{"url":"https://cna.erlef.org/cves/CVE-2026-23940.html","label":"cna.erlef.org/cves/CVE-2026-23940.html","hostname":"cna.erlef.org","tags":["Related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-23940","label":"osv.dev/vulnerability/EEF-CVE-2026-23940","hostname":"osv.dev","tags":["Related"]},{"url":"https://github.com/hexpm/hexpm/commit/82911daf5f8fb2ab44f298e3ba22b90bc1ae3746","label":"github.com/hexpm/hexpm/commit/82911daf5f8fb2ab44f298e3ba22b90bc1ae3746","hostname":"github.com","tags":["Related"]},{"url":"https://github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01","label":"github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01","hostname":"github.com","tags":["Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-03-13T16:07:53.328Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-08T13:32:42.745Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:52:07.860Z","stale":false,"partial":false}}