{"id":"CVE-2026-118768","summary":"Botan: CLI utility `ocsp_check` accepts unauthenticated responses","details":"Botan is a C++ cryptography library. From 1.11.34 until 3.13.0, the botan ocsp_check command requested an OCSP response from a certificate's Authority Information Access URL without verifying the response signature or authorizing the signer. A malicious responder or on-path attacker could return a matching and timely GOOD response with an empty, invalid, or unauthorized signature, causing a revoked certificate to produce exit status 0 and OCSP check OK output. Only the command-line interface is affected. This issue is fixed in version 3.13.0.","aliases":["GHSA-mpr7-9494-4qcw"],"modified":"2026-11-05T07:59:52.892354918Z","published":"2026-10-29T17:20:05.577Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118768.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-347"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118768.json"},{"type":"ADVISORY","url":"https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118768"},{"type":"FIX","url":"https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983"},{"type":"FIX","url":"https://github.com/randombit/botan/pull/5825"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/randombit/botan","events":[{"introduced":"b816a3652c1359028f59d64a2f742564547ab782"},{"fixed":"2a81eef56c96c237e590c27f9a75e60317c9c700"},{"fixed":"46b2a9ca59b0797184fbf7537495bda6e61a1983"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.11.34"},{"fixed":"3.13.0"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"46b2a9ca59b0797184fbf7537495bda6e61a1983"}]}]}}],"versions":["3.12.0","3.11.1","3.11.0","3.10.0","3.9.0","3.8.1","3.8.0","3.7.1","3.7.0","3.6.1","3.6.0","3.5.0","3.4.0","3.3.0","3.2.0","3.1.1","3.1.0","3.0.0","3.0.0-rc1","3.0.0-alpha1","3.0.0-alpha0","2.17.0","2.16.0","2.15.0","2.14.0","2.13.0","2.12.1","2.12.0","2.11.0","2.10.0","2.9.0","2.8.0","2.7.0","2.6.0","2.5.0","2.4.0","2.3.0","2.2.0","2.1.0","2.0.1","2.0.0","1.11.34"],"database_specific":{"vanir_signatures":[{"id":"CVE-2026-118768-78ba38fa","signature_type":"Line","signature_version":"v1","source":"https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983","target":{"file":"src/cli/x509.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["320188987521478064689372021070678520387","136472532014693454748250242354496026844","45376761189223753530982793191316489860","154167261854575132901360827516998801220","117980694150957271316125198717227675410","141162675995603065536858953406027677736","151729946318368093849572026900023554951","74572113820377347060470080897758055673"]}}],"vanir_signatures_modified":"2026-11-05T07:59:52Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118768.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}