DEBIAN-CVE-2026-118767

Source
https://security-tracker.debian.org/tracker/CVE-2026-118767
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-118767.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-118767
Upstream
Published
2026-10-29T18:17:28Z
Modified
2026-10-31T21:00:07Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:12 / botan

Package

Name
botan
Purl
pkg:deb/debian/botan?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
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"

Debian:13 / botan

Package

Name
botan
Purl
pkg:deb/debian/botan?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
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"

Debian:13 / botan3

Package

Name
botan3
Purl
pkg:deb/debian/botan3?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
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
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~deb13u1
3.12.0+dfsg-2
3.13.0+dfsg-1
3.13.0+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-118767.json"

Debian:14 / botan3

Package

Name
botan3
Purl
pkg:deb/debian/botan3?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.13.0+dfsg-2

Affected versions

3.*
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
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~deb13u1
3.12.0+dfsg-2
3.13.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-118767.json"