Bug 2563606 (CVE-2026-118767) - CVE-2026-118767 botan: botan: Password policy bypass via embedded null byte in Python bindings
Summary: CVE-2026-118767 botan: botan: Password policy bypass via embedded null byte i...
Keywords:
Status: NEW
Alias: CVE-2026-118767
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-29 18:13 UTC by OSIDB Bzimport
Modified: 2026-11-06 14:34 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-29 18:13:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.