1. Accueil
  2. Vulnérabilités
  3. CVE-2026-118767

CVE-2026-118767

Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs

Publiée le 29 oct. 2026 · modifiée le 30 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 27/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

randombit (1 ligne(s))
randombit
ProduitVersionsCorrigé dansSource
botan Versions non précisées — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-158 · Autre (CWE-158)

Comment sont obtenues et calculées ces données