CVE-2026-118767
Last modified
CVE-2026-118767 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| randombit | botan | >= 1.11.22, < 3.13.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-118767?
How severe is CVE-2026-118767?
How do I fix CVE-2026-118767?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-118761Kubeflow Pipelines enables users to build and deploy portabl…7.5
- CVE-2026-118762Monkeytype is a minimalistic and customizable typing test. P…9.3
- CVE-2026-118763sigstore-js provides JavaScript libraries for interacting wi…7.4
- CVE-2026-118764minimatch is a minimal matching utility for converting glob …6.9
- CVE-2026-118765Botan is a C++ cryptography library. From 3.7.0 until 3.13.0…7.3
- CVE-2026-118766Botan is a C++ cryptography library. Prior to 3.13.0, Botan'…6.1
- CVE-2026-118768Botan is a C++ cryptography library. From 1.11.34 until 3.13…5.9
- CVE-2026-118769Botan is a C++ cryptography library. From 2.1.0 until 3.13.0…9.2
- CVE-2026-11877An unauthorized user can modify configuration through API ca…7.5
- CVE-2026-118772joi is a schema description language and data validator for …7.5
- CVE-2026-118773Glob matches files using patterns the shell uses. From 9.0.0…6.3
- CVE-2026-118774Forge (also called node-forge) is a native implementation of…3.7
Are you affected by CVE-2026-118767?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
