CVE-2026-23940: Denial of Service via Oversized Package Upload
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.
Security readout for executives and security teams
Plain-English summary
An authenticated publisher can upload an oversized package that exhausts Hex.pm server memory during extraction. The affected application instance may terminate, disrupting package publishing and possibly other package-processing services. The supplied evidence describes availability loss, not data theft or modification.
Executive priority
Prioritize remediation for internet-reachable or business-critical Hex.pm publishing infrastructure. The flaw can interrupt service but is not reported to expose or alter data. Accelerate action where untrusted or numerous publisher accounts exist, while treating claims of active exploitation as unsupported by the supplied evidence.
Technical view
CVE-2026-23940 is a CWE-400 uncontrolled resource consumption flaw in Hex.pm before 2026-03-10. A network-accessible, low-privileged attacker can trigger excessive memory allocation through an oversized package tarball without user interaction. CVSS 4.0 scores it 7.1, with high vulnerable-system availability impact and no stated confidentiality or integrity impact.
Likely exposure
Exposure is concentrated in Hex.pm service deployments running affected code and accepting package uploads from publisher accounts. Ordinary consumers of packages are not identified as vulnerable by the supplied sources. Confirm exposure using deployed code provenance rather than relying only on package-name metadata, which is ambiguous in the bundle.
Exploitation context
The attack requires low privileges, consistent with access to publish a package, but needs no victim interaction and has low stated complexity. The bundle marks CISA KEV status false and provides no evidence of active exploitation. Public references include a vendor advisory and fix commit, so defenders should expect technical scrutiny.
Researcher notes
The supplied vector is 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. Root cause is excessive allocation while extracting an uploaded tarball. The bundle identifies commit 495f016 as the fix, but does not describe its implementation or provide confirmed exploitation telemetry.
Mitigation direction
Apply the vendor fix represented by commit 495f016 or confirmed vendor guidance.
Upgrade deployments identified as predating the 2026-03-10 affected-version cutoff.
Until updated, restrict package-publishing access to necessary, trusted accounts.
Review vendor guidance before adopting additional upload or extraction controls.
Validation and detection
Identify every deployment performing Hex.pm package publishing or package processing.
Verify deployed code contains fix commit 495f016 or a vendor-confirmed equivalent.
Confirm no in-scope deployment uses code from before 2026-03-10.
Review telemetry for memory exhaustion, instance termination, or disruption during package extraction.
Retest package-processing availability using safe, authorized validation procedures after remediation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-400: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-400 · source CWE mapping
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.