Security Vulnerability Report
中文
CVE-2025-46597 CVSS 7.5 HIGH

CVE-2025-46597

Published: 2026-03-20 16:16:16
Last Modified: 2026-04-02 12:17:07

Description

Bitcoin Core 0.13.0 through 29.x has an integer overflow.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:bitcoin:bitcoin_core:*:*:*:*:*:*:*:* - VULNERABLE
Bitcoin Core 0.13.0 - 29.x

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Conceptual Proof of Concept for Integer Overflow # This script demonstrates the logic of triggering an integer overflow. # It is for educational purposes only. import struct def trigger_overflow_simulation(): # Simulate a length field that causes overflow when added to a header size MAX_UINT32 = 0xFFFFFFFF header_size = 24 # Attacker controls this value. Calculation: (malicious_len + header_size) overflows # We want (malicious_len + header_size) to be small, e.g., 100, to pass checks # But actual malloc uses the overflowed result. malicious_len = (100 - header_size) % (MAX_UINT32 + 1) print(f"Simulating payload with length field: {malicious_len}") # Simulate the vulnerable calculation allocated_size = malicious_len + header_size print(f"Vulnerable calculation result (Allocated Size): {allocated_size}") # If the logic checks 'malicious_len' but allocates based on overflowed result, # a large memcpy will crash the node. if allocated_size < 1000: print("[!] Overflow occurred: Small buffer allocated for large payload.") print("[!] Potential for Denial of Service (Crash).") if __name__ == "__main__": trigger_overflow_simulation()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-46597", "sourceIdentifier": "[email protected]", "published": "2026-03-20T16:16:16.207", "lastModified": "2026-04-02T12:17:06.570", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Bitcoin Core 0.13.0 through 29.x has an integer overflow."}, {"lang": "es", "value": "Bitcoin Core 0.13.0 hasta 29.x tiene un desbordamiento de entero."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-190"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:bitcoin:bitcoin_core:*:*:*:*:*:*:*:*", "versionStartIncluding": "0.13.0", "versionEndExcluding": "0.30.0", "matchCriteriaId": "51EFA058-A33B-4CB3-B8F6-202B4C827389"}]}]}], "references": [{"url": "https://bitcoincore.org/en/2025/10/24/disclose-cve-2025-46597/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://github.com/bitcoin/bitcoin/releases", "source": "[email protected]", "tags": ["Release Notes"]}]}}