CVE-2022-40769: Profanity - Weak Cryptography
- Cve: CVE-2022-40769
- Name: Profanity - Weak Cryptography
- Description: profanity through 1.60 has only four billion possible RNG initializations. Thus, attackers can recover private keys from Ethereum vanity addresses and steal cryptocurrency, as exploited in the wild in June 2022.
- Impact: Attackers can recover private keys and steal cryptocurrency from affected Ethereum vanity addresses.
- Remediation: Update to the latest version of Profanity that fixes RNG initialization issues.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.01606
- Epss percentile: 0.76505
- Assignee: [email protected]
- Published at: 2022-09-18T17:15:09Z
- Age in days: 1528
- Modified at: 2026-06-17T05:02:00Z
- Public exploits total: 3
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-40769
- Nvd status: modified
- Checked, none or zero: patch available, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2022-09-18 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/artsbykriss/profanity-verifier | poc-in-github | 2026-09-23 |
| https://github.com/artsbykriss/profanity-verifier.git | vulncheck-xdb | 2026-09-23 |
| https://github.com/PLSRcoin/CVE-2022-40769 | poc-in-github | 2023-01-28 |
References
| Url | Source | Tags |
|---|---|---|
| https://blog.1inch.io/a-vulnerability-disclosed-in-profanity-an-ethereum-vanity-address-tool-68ed7455fc8c | nvd | Third Party Advisory |
| https://github.com/johguse/profanity | nvd | Third Party Advisory |
| https://github.com/johguse/profanity/issues/61 | nvd | Issue Tracking, Third Party Advisory |
| https://www.cve.org/CVERecord?id=CVE-2022-40769 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| profanity_project:profanity | <= 1.60 | no | nvd | /v1/products/profanity_project/profanity |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| johguse/profanity | issues | yes | /v1/repositories/johguse/profanity |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2022-09-18
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2023-01-28
- Remote: yes
- Checked, none or zero: known exploited, initial access, authentication required
- Not known: known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts