CVE-2026-118767: randombit botan · Improper Neutralization of Null Byte or NUL Character
Affects randombit botanSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium : upgrade to 3.13.0 when convenient.
Data as of 29 Oct 2026, 18:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.8 |
|---|
- Patch
- Available – fixed in 3.13.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade botan and randombit/botan to 3.13.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| randombitbotan | Affected
| Fixed in
|
GitHubrandombit/botanpkg:github/randombit/botanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Botan to version 3.13.0 or later, where this vulnerability is fixed. No other mitigation is required as the issue is resolved in this official release.
Description
Botan, a C++ cryptography library, had a vulnerability in its Python binding from versions 1.11.22 up to but not including 3.13.0. The issue involved improper handling of embedded null (U+0000) characters in Python strings, causing bcrypt and check_bcrypt functions to process only the password prefix before the null byte. This allowed applications to bypass password policies by validating longer passwords but hashing shorter effective values. The vulnerability does not affect scrypt and argon2 functions. The issue is fixed in Botan version 3.13.0.