{"id":"DEBIAN-CVE-2026-118767","details":"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.","modified":"2026-10-31T21:00:07.273793275Z","published":"2026-10-29T18:17:28.853Z","upstream":["CVE-2026-118767"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-118767"}],"affected":[{"package":{"name":"botan","ecosystem":"Debian:12","purl":"pkg:deb/debian/botan?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.3+dfsg-1","2.19.3+dfsg-1+deb12u1","2.19.4+dfsg-1","2.19.5+dfsg-1","2.19.5+dfsg-2","2.19.5+dfsg-3","2.19.5+dfsg-4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-118767.json"}},{"package":{"name":"botan","ecosystem":"Debian:13","purl":"pkg:deb/debian/botan?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.5+dfsg-4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-118767.json"}},{"package":{"name":"botan3","ecosystem":"Debian:13","purl":"pkg:deb/debian/botan3?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0+dfsg-1","3.10.0+dfsg-2","3.11.0+dfsg-1","3.11.1+dfsg-1","3.11.1+dfsg-2","3.12.0+dfsg-1","3.12.0+dfsg-2","3.12.0+dfsg-2~deb13u1","3.13.0+dfsg-1","3.13.0+dfsg-2","3.7.1+dfsg-2","3.8.1+dfsg-1","3.9.0+dfsg-1","3.9.0+dfsg-2","3.9.0+dfsg-2.1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-118767.json"}},{"package":{"name":"botan3","ecosystem":"Debian:14","purl":"pkg:deb/debian/botan3?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.0+dfsg-2"}]}],"versions":["3.10.0+dfsg-1","3.10.0+dfsg-2","3.11.0+dfsg-1","3.11.1+dfsg-1","3.11.1+dfsg-2","3.12.0+dfsg-1","3.12.0+dfsg-2","3.12.0+dfsg-2~deb13u1","3.13.0+dfsg-1","3.7.1+dfsg-2","3.8.1+dfsg-1","3.9.0+dfsg-1","3.9.0+dfsg-2","3.9.0+dfsg-2.1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-118767.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}