Every CVE Search/ Get API key

CVE-2021-3195

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g.,...

7.5 HighFix availableDisputed

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

1.30%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

Record
CVE-2021-3195
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

Record
CVE-2021-3195
Updated
2026-11-02
EUVDEUVD-2021-26536 No score

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

Record
EUVD-2021-26536
Updated
2026-11-03
GitHub AdvisoriesGHSA-xvf3-hffw-q8j7 7.5

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g.,...

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call.

Record
GHSA-xvf3-hffw-q8j7
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-20
Updated
2026-11-02
OSVALPINE-CVE-2021-3195 7.5

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

Record
ALPINE-CVE-2021-3195
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-03
OSV 7.5

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

Record
CVE-2021-3195
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVopenSUSE-SU-2022:0072-1 No score

Security update for bitcoin

This update for bitcoin fixes the following issues:

Update to version 0.21.2

  • P2P protocol and network code
    • use NetPermissions::HasFlag() in CConnman::Bind()
    • Rate limit the processing of rumoured addresses
  • Wallet
    • Do not iterate a directory if having an error while accessing it
  • RPC
    • Reset scantxoutset progress before inferring descriptors
  • Build System
    • depends: update Qt 5.9 source url
    • Update Windows code signing certificate
    • Use custom MacOS code signing tool
    • Fix build with Boost 1.77.0
  • Tests and QA
    • Build with --enable-werror by default, and document exceptions
    • Fix intermittent feature_taproot issue
    • Fix macOS brew install command
    • add missing ECCVerifyHandle to base_encode_decode
    • Run fuzzer task for the master branch only
  • GUI
    • Do not use QClipboard::Selection on Windows and macOS.
    • Remove user input from URI error message
    • Draw 'eye' sign at the beginning of watch-only addresses
  • Miscellaneous
    • Fix crash when parsing command line with -noincludeconf=0
    • util: Properly handle -noincludeconf on command line (take 2)

Update to version 0.21.1

  • Consensus:
    • Speedy trial support for versionbits
    • Speedy trial activation parameters for Taproot
  • P2P protocol and network code
    • allow CSubNet of non-IP networks
    • Avoid UBSan warning in ProcessMessage
  • Wallet
    • Introduce DeferredSignatureChecker and have SignatureExtractorClass subclass it
    • Avoid requesting fee rates multiple times during coin selection
  • RPC and other APIs:
    • Disallow sendtoaddress and sendmany when private keys disabled CVE-2021-3195

Update to version 0.21.0:

  • For full details see release-notes-0.21.0.md

Update to version 0.20.1

  • Mining
    • Fix GBT: Restore '!segwit' and 'csv' to 'rules' key
  • P2P protocol and network code
    • Replace automatic bans with discouragement filter
  • Wallet
    • Handle concurrent wallet loading
    • Minimal fix to restore conflicted transaction notifications
  • RPC and other APIs
    • Increment input value sum only once per UTXO in decodepsbt
    • psbt: Increment input value sum only once per UTXO in decodepsbt
    • psbt: Include and allow both non_witness_utxo and witness_utxo for segwit inputs
  • GUI
    • Add missing QPainterPath include
    • update Qt base translations for macOS release
  • Misc
    • util: Don't reference errno when pthread fails
    • Fix locking on WSL using flock instead of fcntl

Update to version 0.20.0:

  • Do not run bitcoind in daemon mode. Running it not as a background process makes it working properly with journald (instead of writing logs in /var/log).

Update to version 0.19.1:

  • Wallet
    • Fix origfee return for bumpfee with feerate arg
    • Fix unique_ptr usage in boost::signals2
    • Fix issue with conflicted mempool tx in listsinceblock
    • Bug: IsUsedDestination shouldn't use key id as script id for ScriptHash
    • IsUsedDestination should count any known single-key address
    • Reset reused transactions cache
  • RPC and other APIs
    • cli: Fix fatal leveldb error when specifying -blockfilterindex=basic twice
    • require second argument only for scantxoutset start action
    • zmq: Fix due to invalid argument and multiple notifiers
    • psbt: handle unspendable psbts
    • psbt: check that various indexes and amounts are within bounds
  • GUI
    • Fix missing qRegisterMetaType for size_t
    • disable File->CreateWallet during startup
    • Fix comparison function signature
    • Fix unintialized WalletView::progressDialog
  • Tests and QA
    • Appveyor improvement - text file for vcpkg package list
    • fix 'bitcoind already running' warnings on macOS
    • add missing #include to fix compiler errors
  • Platform support
    • Update msvc build for Visual Studio 2019 v16.4
    • Updates to appveyor config for VS2019 and Qt5.9.8 + msvc project fixes
    • bug-fix macos: give free bytes to F_PREALLOCATE
  • Miscellaneous *…
Record
openSUSE-SU-2022:0072-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10654-1 No score

bitcoin-qt5-0.21.1-2.2 on GA media

These are all security issues fixed in the bitcoin-qt5-0.21.1-2.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10654-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21149-1 No score

Security update for bitcoin

This update for bitcoin fixes the following issues:

Changes in bitcoin:

  • Reference the tracking bugs for CVEs already fixed in current bitcoin (the affected versions all predate the shipped release):
    • CVE-2018-20587 (boo#1125092)
    • CVE-2019-15947 (boo#1149711)
    • CVE-2020-14198 (boo#1181786)
    • CVE-2021-3195 (boo#1181784)
    • CVE-2023-37192 (boo#1217678)
    • CVE-2024-35202 (boo#1231507)
Record
openSUSE-SU-2026:21149-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
bitcoin
Alpine:v3.14
before 0.21.1-r0
0.21.1-r0
bitcoin
Alpine:v3.15
before 0.21.1-r0
0.21.1-r0
bitcoin
Alpine:v3.16
before 0.21.1-r0
0.21.1-r0
bitcoin
Alpine:v3.17
before 0.21.1-r0
0.21.1-r0
bitcoin
Alpine:v3.18
before 0.21.1-r0
0.21.1-r0
bitcoin
SUSE:Package Hub 15 SP3
before 0.21.2-bp153.2.3.1
0.21.2-bp153.2.3.1
bitcoin
openSUSE:Leap 15.3
before 0.21.2-bp153.2.3.1
0.21.2-bp153.2.3.1
bitcoin
openSUSE:Leap 16.0
before 27.1-bp160.2.1
27.1-bp160.2.1

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3195 is a high vulnerability (CVSS 7.5) in Bitcoin Core, published January 21, 2021. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 1.30%, the 70th percentile. Fixed in bitcoin 0.21.1-r0.

References

Show 12 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open