Medium severity · published Mar 13, 2026
CVE-2026-23940
Denial of Service via Oversized Package Upload
6.5
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 39% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HE
hexpm · hexpm
before 2026-03-10; 82911daf5f8fb2ab44f298e3ba22b90bc1ae3746 before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-23940
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-23940
cna.erlef.org
https://cna.erlef.org/cves/CVE-2026-23940.html
Patch
https://github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01
github.com
https://github.com/hexpm/hexpm/commit/82911daf5f8fb2ab44f298e3ba22b90bc1ae3746
Mitigation
https://github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcr
osv.dev
https://osv.dev/vulnerability/EEF-CVE-2026-23940
More from hexpm
9.8
CVE-2026-21622
Password Reset Tokens Do Not Expire
8.3
CVE-2026-75542
OAuth token exchange grants repository scopes for organizations the principal cannot access
7.5
CVE-2026-23939
Path Traversal in Local File Store Backend
6.1
CVE-2026-21618
Cross-site scripting (XSS) in OAuth Device Authorization screen
5.3
CVE-2026-21621
Improper Scope Enforcement in OAuth client_credentials Flow Allows Read-Only API Key to Escalate to Full Access
