CVE-2026-118767randombit botan
Medium 4.8 No auth needed
Follow: this CVE · randombit · randombit botan We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 3.1
- 4.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 29, 2026
- Updated
- Oct 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-158
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for botan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- randombit · botan
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.