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

Affected

pkg:github/hexpm/hexpm

Status Type Version Changes / Fixed in
affected git initial < 495f01607d3e

hexpm / hex.pm

Status Type Version Changes / Fixed in
affected date initial < 2026-03-10

Workarounds

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

References

Credits

  • Finder: Joud Zakharia / zentrust partners GmbH
  • Remediation developer: Eric Meadows-Jönsson / Hex.pm

CVE record as JSON:  GET /cves/CVE-2026-23940.json
OSV record as JSON:  GET /osv/EEF-CVE-2026-23940.json