Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-21619: CWE-400 Uncontrolled Resource Consumption in hexpm hex_core

0
Low
VulnerabilityCVE-2026-21619cvecve-2026-21619cwe-400cwe-502
Published: Fri Feb 27 2026 (02/27/2026, 17:57:11 UTC)
Source: CVE Database V5
Vendor/Project: hexpm
Product: hex_core

Description

Uncontrolled Resource Consumption, Deserialization of Untrusted Data vulnerability in hexpm hex_core (hex_api modules), hexpm hex (mix_hex_api modules), erlang rebar3 (r3_hex_api modules) allows Object Injection, Excessive Allocation. This vulnerability is associated with program files src/hex_api.erl, src/mix_hex_api.erl, apps/rebar/src/vendored/r3_hex_api.erl and program routines hex_core:request/4, mix_hex_api:request/4, r3_hex_api:request/4. This issue affects hex_core: from 0.1.0 before 0.12.1; hex: from 2.3.0 before 2.3.2; rebar3: from 3.9.1 before 3.27.0.

AI-Powered Analysis

AILast updated: 02/27/2026, 18:27:54 UTC

Technical Analysis

CVE-2026-21619 is a vulnerability classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-502 (Deserialization of Untrusted Data) affecting the hexpm package management ecosystem, specifically the hex_core, hex, and rebar3 components. These components are widely used in the Erlang and Elixir programming environments for managing dependencies and packages. The vulnerability arises from improper handling of deserialized data in the API request functions hex_core:request/4, mix_hex_api:request/4, and r3_hex_api:request/4, which can lead to object injection and excessive memory allocation. This uncontrolled resource consumption can be triggered by sending crafted requests that exploit the deserialization process, causing the system to allocate excessive resources, potentially leading to denial-of-service (DoS) conditions. The affected versions include hex_core from 0.1.0 up to but not including 0.12.1, hex from 2.3.0 up to but not including 2.3.2, and rebar3 from 3.9.1 up to but not including 3.27.0. The vulnerability requires low privileges (partial authentication) and user interaction, but does not compromise confidentiality or integrity of data. The CVSS 4.0 score is 2.0, indicating low severity, primarily due to limited impact and exploitation complexity. No public exploits have been reported, but the vulnerability poses a risk to service availability in environments relying on these package managers.

Potential Impact

The primary impact of CVE-2026-21619 is on the availability of systems using the affected hexpm components. By exploiting the deserialization flaw, attackers can cause excessive memory or CPU consumption, leading to degraded performance or denial-of-service conditions. This can disrupt development workflows, continuous integration pipelines, and package management operations in organizations relying on Erlang and Elixir ecosystems. While confidentiality and integrity are not directly affected, the operational disruption can have downstream effects on productivity and service reliability. Organizations with automated build systems or package repositories exposed to untrusted inputs are particularly vulnerable. The low CVSS score reflects the limited scope and complexity, but the risk increases in large-scale or critical infrastructure deployments where resource exhaustion can cascade into broader outages.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately upgrade to patched versions: hex_core 0.12.1 or later, hex 2.3.2 or later, and rebar3 3.27.0 or later. If upgrading is not immediately feasible, implement strict input validation and sanitization on all API endpoints handling package requests to prevent deserialization of untrusted data. Employ rate limiting and resource quotas on package management services to limit the impact of excessive allocation attempts. Monitor system resource usage closely for unusual spikes that may indicate exploitation attempts. Additionally, isolate package management infrastructure from untrusted networks and enforce strong authentication and authorization controls to reduce exposure. Regularly audit dependencies and update them promptly to incorporate security fixes. Finally, consider deploying runtime protections that detect and block abnormal memory or CPU consumption patterns related to deserialization processes.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-01-01T03:46:45.933Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69a1de4132ffcdb8a26144c6

Added to database: 2/27/2026, 6:11:13 PM

Last enriched: 2/27/2026, 6:27:54 PM

Last updated: 2/28/2026, 5:41:02 AM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses