CVE-2026-118767
mediumBotan is a C++ cryptography library.
Botan is a C++ cryptography library. From 1.11.22 until 3.13.0, Botan's Python binding converted Python strings containing U+0000 to const char* values without consistently rejecting the embedded NUL, causing bcrypt and check_bcrypt to process only the prefix before the NUL. Applications could validate a longer password but hash a shorter effective value, allowing application password-policy bypass; scrypt and argon2 are unaffected. This issue is fixed in version 3.13.0.
CVSS
4.8
4.8 (CVSS v3.1)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N Severity source: NVD CVSS v3.1 (security-advisories@github.com)
Timeline (UTC)
Published: 2026-10-29 18:17
Modified: 2026-10-29 18:17
NVD status: Received
Last synced 12 hours ago
Verified against the source API 2026-10-29 18:17 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/randombit/botan/commit/5a4ac737e72e18a08eca848049e3dd38571c73b4 security-advisories@github.com
- https://github.com/randombit/botan/pull/5814 security-advisories@github.com
- https://github.com/randombit/botan/security/advisories/GHSA-w8gj-5xrm-gvrp security-advisories@github.com
Data sources
NVD CVE API 2.0 — fetched 2026-10-29 18:17 UTC · record ↗
