{"id":"CVE-2026-118767","aliases":[],"cve":{"records":[{"id":"CVE-2026-118767","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-28T19:20:05.017Z","published":"2026-10-29T17:17:24.323Z","modified":"2026-10-30T17:12:36.136Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-29T17:17:24.323Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-30T17:12:36.136Z"}],"references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-w8gj-5xrm-gvrp","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/randombit/botan/pull/5814","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/randombit/botan/commit/5a4ac737e72e18a08eca848049e3dd38571c73b4","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-158","description":"CWE-158: Improper Neutralization of Null Byte or NUL Character","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-30T15:20:33.590831Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs","titleSource":"GitHub_M","descriptionSource":"GitHub_M","description":"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.","score":4.8,"severity":"medium","published":"2026-10-29T17:17:24.323Z","modified":"2026-10-30T17:12:36.136Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"randombit","name":"botan","platforms":[],"versions":[{"version":">= 1.11.22, < 3.13.0","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-118767"}],"remediation":[],"references":["https://github.com/randombit/botan/security/advisories/GHSA-w8gj-5xrm-gvrp","https://github.com/randombit/botan/pull/5814","https://github.com/randombit/botan/commit/5a4ac737e72e18a08eca848049e3dd38571c73b4"],"sources":[{"name":"CVE","id":"CVE-2026-118767","modified":"2026-10-30T17:12:36.136Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-118767"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8}],"sourceAffected":[],"observedAt":"2026-10-30T18:55:47.696Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:05:31.835Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-30T09:15:34.290Z","attemptedAt":"2026-10-30T09:15:34.290Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-10-30T09:15:34.643Z","attemptedAt":"2026-10-30T09:15:34.643Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-30T09:15:34.551Z","attemptedAt":"2026-10-30T09:15:34.551Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-10-30T09:15:34.042Z","attemptedAt":"2026-10-30T09:15:34.042Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-118767","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118767","modified":"2026-10-29T18:17:28.853","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","checkedAt":"2026-10-30T09:15:34.290Z"},{"source":"ENISA EUVD","id":"EUVD-2026-113276","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-113276","modified":"Oct 29, 2026, 5:17:24 PM","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","checkedAt":"2026-10-30T09:15:34.551Z"}],"aiSummary":{"text":"Botan's Python binding, versions 1.11.22 to 3.12.x, truncates passwords with embedded NULs, allowing password-policy bypass. The issue affects bcrypt and check_bcrypt APIs. This is fixed in version 3.13.0.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T09:56:27.656Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-118767"}]}}