CVE-2026-23940

Summary

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 hexpm: before 495f01607d3eae4aed7ad09b2f54f31ec7a7df01; hex.pm: before 2026-03-10.

Affected Software

VendorProductVersion RangeStatus
hexpmhexpm0 < 495f01607d3eae4aed7ad09b2f54f31ec7a7df01affected
hexpmhex.pm0 < 2026-03-10affected

Weaknesses

  • CWE-400: CWE-400 Uncontrolled Resource Consumption

Workarounds

  • Prevent large package uploads by enforcing upload size limits at the reverse proxy or load balancer level.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References