# CVE-2026-23940: Denial of Service via Oversized Package Upload

- Severity: High 7.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-03-13T16:07:53.328Z
- Modified: 2026-11-25T06:30:20.597Z
- Also known as: EEF-CVE-2026-23940, GHSA-jp8w-gxf6-8hcr
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- hex.pm: before 2026-03-10
- hexpm/hexpm: from 82911daf5f8fb2ab44f298e3ba22b90bc1ae3746 before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01
- https://github.com/hexpm/hexpm: from 82911daf5f8fb2ab44f298e3ba22b90bc1ae3746 before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01
- hex hexpm: before 2026-03-09

## Every score

- EEF: CVSS:4.0 7.1 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/hexpm/hexpm/security/advisories/GHSA-jp8w-gxf6-8hcr> (advisory, mitigation, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-23940.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-23940> (related)
- <https://github.com/hexpm/hexpm/commit/82911daf5f8fb2ab44f298e3ba22b90bc1ae3746> (related, web)
- <https://github.com/hexpm/hexpm/commit/495f01607d3eae4aed7ad09b2f54f31ec7a7df01> (fix, patch)

## Sources

- CVE List: [CVE-2026-23940](https://www.cve.org/CVERecord?id=CVE-2026-23940), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-23940](https://osv.dev/vulnerability/EEF-CVE-2026-23940), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-23940](https://nvd.nist.gov/vuln/detail/CVE-2026-23940), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-23940 · Whole record: https://cve.day/CVE-2026-23940.json · Rebuilt by cve.day 2026-11-25T22:59:15.869Z
