Improper Neutralization of Null Byte or NUL Character Affecting botan package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.22% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-BOTAN-22107213
  • published1 Nov 2026
  • disclosed29 Oct 2026

Introduced: 29 Oct 2026

NewCVE-2026-118767  (opens in a new tab)
CWE-158  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 botan.

NVD Description

Note: Versions mentioned in the description apply only to the upstream botan package and not the botan package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.