{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-118767 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-118767 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-118767 is a medium-severity vulnerability in randombit botan, published on 29 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-118767 and fix it if it is affected.\n\nWhat it is: CVE-2026-118767 is a medium-severity vulnerability in randombit botan, published on 29 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-118767 in the wild and no public exploit code.\n\nAffected product: randombit botan. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-118767/ (Markdown: https://insights.sbomify.com/CVE-2026-118767/index.md)","id":"CVE-2026-118767","markdown":"https://insights.sbomify.com/CVE-2026-118767/index.md","name":"CVE-2026-118767","record":{"aliases":["GHSA-w8gj-5xrm-gvrp"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-158","name":"Improper Neutralization of Null Byte or NUL Character"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs","id":"CVE-2026-118767","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Botan: CLI utility `ocsp_check` accepts unauthenticated responses","id":"CVE-2026-118768"},"packages":[],"prev":{"headline":"Botan: Online OCSP redirects enable blind requests to internal HTTP services","id":"CVE-2026-118766"},"products":["botan"],"published":"2026-10-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-29","vendors":["randombit"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-118767/"}