CVE-2024-52917: n/a
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 Analysis
Technical Summary
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.
Affected Countries
United States, Germany, Japan, South Korea, United Kingdom, Canada, Switzerland, Singapore, Netherlands, Australia
CVE-2024-52917: n/a
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.