CVE-2026-118767
Published:October 29, 2026
Updated:October 30, 2026
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.
Affected Packages
botan (CONAN):
Affected version(s) >=2.17.3 <3.13.0 || >=3.0.0 <3.13.0Fix Suggestion:
Update to version 3.13.0https://github.com/randombit/botan.git (GITHUB):
Affected version(s) >=1.11.14 <3.13.0 || >=2.0.0 <3.13.0 || >=3.0.0-alpha0 <3.13.0Fix Suggestion:
Update to version 3.13.0Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Null Byte or NUL Character