CVE-2023-50981: Crypto++ - Denial of Service
- Cve: CVE-2023-50981
- Name: Crypto++ - Denial of Service
- Description: ModularSquareRoot in Crypto++ (aka cryptopp) through 8.9.0 allows attackers to cause a denial of service (infinite loop) via crafted DER public-key data associated with squared odd numbers, such as the square of 268995137513890432434389773128616504853.
- Impact: Attackers can cause a denial of service by triggering an infinite loop, disrupting service availability.
- Remediation: Update to the latest version of Crypto++ beyond 8.9.0 or apply available patches.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- 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:N/I:N/A:H
- Epss score: 0.00762
- Epss percentile: 0.56092
- Assignee: [email protected]
- Published at: 2023-12-18T04:15:51Z
- Age in days: 1072
- Modified at: 2026-06-17T06:40:21Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-50981
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/weidai11/cryptopp/issues/1249 | nvd | 2023-12-18 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/weidai11/cryptopp/issues/1249 | nvd | Exploit, Issue Tracking |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cryptopp:crypto++ | <= 8.9.0 | no | nvd | /v1/products/cryptopp/crypto++ |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| weidai11/cryptopp | issues | yes | /v1/repositories/weidai11/cryptopp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-12-18
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts