CVE-2022-31246: Medium severity electrum bitcoin wallet vulnerability

Published Jun 17, 2022
·
Updated

paymentrequest.py in Electrum before 4.2.2 allows a file:// URL in the r parameter of a payment request (e.g., within QR code data). On Windows, this can lead to capture of credentials over SMB. On Linux and UNIX, it can lead to a denial of service by specifying the /dev/zero filename.

Affected Software

2 affected components
Electrum Electrum<4.2.2
Microsoft Windows

Event History

Jun 17, 2022
CVE Published
via MITRE·01:39 PM
Data Sourced
via MITRE·01:39 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2022-31246?

CVE-2022-31246 has a medium severity rating of 5.5 according to the CVSS 3.1 score.

2

What does CVE-2022-31246 affect?

CVE-2022-31246 affects the paymentrequest.py component in Electrum versions prior to 4.2.2.

3

How can CVE-2022-31246 be exploited?

CVE-2022-31246 can be exploited by manipulating the r parameter in a payment request, potentially capturing credentials on Windows or causing a denial of service on Linux and UNIX.

4

How do I fix CVE-2022-31246?

To fix CVE-2022-31246, update Electrum to version 4.2.2 or later.

5

Is there a workaround for CVE-2022-31246?

Currently, there are no recommended workarounds for CVE-2022-31246 other than upgrading the affected software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203