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-2024-52917: n/a

0
Medium
VulnerabilityCVE-2024-52917cvecve-2024-52917
Published: Mon Nov 18 2024 (11/18/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

Bitcoin Core before 22.0 has a miniupnp infinite loop in which it allocates memory on the basis of random data received over the network, e.g., large M-SEARCH replies from a fake UPnP device.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 03:08:34 UTC

Technical Analysis

CVE-2024-52917 is a vulnerability identified in Bitcoin Core versions prior to 22.0, specifically within the miniupnp component used for Universal Plug and Play (UPnP) network discovery. The flaw arises from the handling of M-SEARCH replies, which are part of the UPnP protocol used to discover devices on a local network. In this case, Bitcoin Core improperly allocates memory based on the size of data received from these M-SEARCH replies without sufficient validation or bounds checking. An attacker controlling a malicious UPnP device can send excessively large or malformed M-SEARCH responses, causing the miniupnp component to enter an infinite loop that continuously allocates memory. This leads to resource exhaustion on the host system, effectively causing a denial of service (DoS) condition. The vulnerability does not require any privileges or user interaction and can be triggered remotely by an attacker on the same network segment or potentially through network exposure of UPnP services. The CVSS v3.1 score of 6.5 reflects a medium severity, with the primary impact on availability (denial of service), and no direct impact on confidentiality or integrity. The weakness corresponds to CWE-770 (Allocation of Resources Without Limits or Throttling). No patches or exploits are currently documented, but the risk remains significant for nodes exposed to untrusted networks or malicious UPnP devices.

Potential Impact

The primary impact of CVE-2024-52917 is denial of service through resource exhaustion on systems running vulnerable Bitcoin Core versions. This can disrupt the operation of Bitcoin nodes, potentially affecting transaction processing, blockchain synchronization, and network participation. For organizations relying on Bitcoin Core for financial transactions, payment processing, or blockchain services, such disruption could lead to operational downtime and loss of trust. While the vulnerability does not compromise data confidentiality or integrity, the availability impact can indirectly affect business continuity and service reliability. Attackers can exploit this vulnerability remotely without authentication, increasing the risk of widespread disruption, especially in environments where UPnP is enabled and exposed. The lack of known exploits in the wild suggests limited current exploitation, but the ease of triggering the vulnerability means it could be weaponized in targeted attacks or large-scale network disruptions.

Mitigation Recommendations

To mitigate CVE-2024-52917, organizations should upgrade Bitcoin Core to version 22.0 or later, where the vulnerability is addressed. If immediate upgrading is not feasible, disabling UPnP functionality within Bitcoin Core can reduce exposure to malicious M-SEARCH replies. Network administrators should implement network segmentation and firewall rules to restrict UPnP traffic and prevent exposure of UPnP services to untrusted networks, especially the internet. Monitoring network traffic for unusual or large M-SEARCH responses can help detect attempted exploitation. Additionally, applying resource limits at the operating system level (e.g., memory usage caps for the Bitcoin Core process) can reduce the impact of resource exhaustion attacks. Regularly auditing and updating all networked devices to minimize the presence of rogue UPnP devices is also recommended. Finally, organizations should stay informed about updates and patches from Bitcoin Core maintainers and apply them promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-11-18T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6bbab7ef31ef0b55a706

Added to database: 2/25/2026, 9:38:02 PM

Last enriched: 2/28/2026, 3:08:34 AM

Last updated: 4/12/2026, 7:55:11 AM

Views: 21

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