{"cve":"CVE-2022-31246","nvd":{"published":"2022-06-17T14:15:08.127","modified":"2026-06-17T04:45:12.677","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5},"cwes":["CWE-88"],"references":["https://github.com/spesmilo/electrum/security/advisories/GHSA-4fh4-hx35-r355","https://twitter.com/ElectrumWallet/status/1534540879905665028","https://github.com/spesmilo/electrum/security/advisories/GHSA-4fh4-hx35-r355","https://twitter.com/ElectrumWallet/status/1534540879905665028"],"products":["electrum:electrum"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-31246","score":0.00819,"percentile":0.57201,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}