CVE-2024-52912
Bitcoin Core vulnerability analysis and mitigation

Overview

Bitcoin Core before 0.21.0 contains a network split vulnerability (CVE-2024-52912) that results from an integer overflow when calculating the time offset for newly connecting peers and an abs64 logic bug. The vulnerability was discovered in October 2020 and fixed in Bitcoin Core version 0.21.0, released on January 15, 2021 (Bitcoin Core).

Technical details

The vulnerability stems from two distinct bugs in the version message processing code: 1) A signed-integer overflow when calculating the time offset for newly connecting peers, and 2) An abs64 logic bug (abs64(std::numeric_limits::min()) == std::numeric_limits::min()) that resulted in bypassing the maximum time adjustment limit. The issue is considered Medium severity (Bitcoin Core).

Impact

An attacker could exploit these bugs to force a victim's adjusted time (system time + network time offset) to be skewed in such a way that any new blocks would be rejected for having a timestamp too far in the future. The attack requires the attacker to be among the first 200 peers to connect to the victim, as only the time offsets from those initial connections are factored into adjusted time (Bitcoin Core).

Mitigation and workarounds

The vulnerability was fixed in Bitcoin Core version 0.21.0, released on January 15, 2021. Users should upgrade to version 0.21.0 or later to mitigate this vulnerability. The last vulnerable Bitcoin Core version (0.20.x) reached end-of-life in April 2022 (Bitcoin Core).

Additional resources


SourceThis report was generated using AI

Related Bitcoin Core vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-54605HIGH7.5
  • Bitcoin CoreBitcoin Core
  • cpe:2.3:a:bitcoin:bitcoin_core
NoYesOct 28, 2025
CVE-2025-54604HIGH7.5
  • Bitcoin CoreBitcoin Core
  • cpe:2.3:a:bitcoin:bitcoin_core
NoYesOct 28, 2025
CVE-2024-52922MEDIUM6.5
  • Bitcoin CoreBitcoin Core
  • cpe:2.3:a:bitcoin:bitcoin_core
NoYesNov 18, 2024
CVE-2024-55563MEDIUM5.3
  • Bitcoin CoreBitcoin Core
  • cpe:2.3:a:bitcoin:bitcoin_core
NoNoDec 09, 2024
CVE-2024-52921MEDIUM5.3
  • Bitcoin CoreBitcoin Core
  • cpe:2.3:a:bitcoin:bitcoin_core
NoYesNov 18, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management