Every CVE Search/ Get API key

CVE-2022-31246

paymentrequest.py in Electrum before 4.2.2 allows a file:// URL in the r parameter of a payment...

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.83%Down 0.1 points since Jun 18, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2022-31246
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:P/I:N/A:N
Weakness
CWE-88
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2022-31246
Updated
2026-11-02
EUVDEUVD-2022-52824 No score

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.

Record
EUVD-2022-52824
Updated
2026-11-03
GitHub AdvisoriesGHSA-h899-2p3m-3gm2 5.5

paymentrequest.py in Electrum before 4.2.2 allows a file:// URL in the r parameter of a payment...

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.

Record
GHSA-h899-2p3m-3gm2
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-88
Updated
2026-11-02
OSV No score

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.

Record
CVE-2022-31246
Updated
2026-11-02
OSVDEBIAN-CVE-2022-31246 No score

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.

Record
DEBIAN-CVE-2022-31246
Updated
2026-11-03

Affected products

Affected packages

Affected packages
PackageAffectedFixed
electrum
Debian:12
before 4.3.2+dfsg1-1
4.3.2+dfsg1-1
electrum
Debian:13
before 4.3.2+dfsg1-1
4.3.2+dfsg1-1
electrum
Debian:14
before 4.3.2+dfsg1-1
4.3.2+dfsg1-1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2022-31246 is a medium vulnerability (CVSS 5.5) in Electrum, published June 17, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.83%, the 57th percentile. Fixed in electrum 4.3.2+dfsg1-1.

References

MoveEnter Open