CVE-2017-7252 in Botan Project Botan
bcrypt password hashing in Botan before 2.1.0 does not correctly handle passwords with a length between 57 and 72 characters, which makes it easier for attackers to determine the cleartext password.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Botan Project | Botan | ≥ 1.11.0, < 2.1.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
bcrypt password hashing in Botan before 2.1.0 does not correctly handle passwords with a length between 57 and 72 characters, which makes it easier for attackers to determine the cleartext password.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-7252 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-266256-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2023-11-03 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-319: CWE-319
Related attack patterns (CAPEC)
CAPEC-65 Sniff Application Code via CWE-319
CAPEC-102 Session Sidejacking via CWE-319
CAPEC-383 Harvesting Information via API Event Monitoring via CWE-319
CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-319
CAPEC-117 Interception via CWE-319
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2017-7252 affects bcrypt password hashing in Botan versions prior to 2.1.0, where passwords of length 57 to 72 characters are not handled correctly, potentially allowing attackers to determine the plaintext password.
An attacker can exploit this vulnerability by submitting passwords of specific lengths (57 to 72 characters) to a system using the affected version of Botan's bcrypt implementation. This can lead to a reduction in the complexity of the brute-force attack required to determine the plaintext password.
Questions
What is CVE-2017-7252?
CVE-2017-7252 affects bcrypt password hashing in Botan versions prior to 2.1.0, where passwords of length 57 to 72 characters are not handled correctly, potentially allowing attackers to determine the plaintext password.
What is the CVSS score for CVE-2017-7252?
CVE-2017-7252 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.4%.
Is CVE-2017-7252 actively exploited?
No confirmed active exploitation of CVE-2017-7252 as of 2026-09-25.
How do I remediate CVE-2017-7252?
Priority: HIGH. Advisory: https://botan.randombit.net/security.html
What systems are affected by CVE-2017-7252?
CVE-2017-7252 affects Botan Project Botan.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Botan Project","product":"Botan","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.