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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-347"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118768.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.11.34"
},
{
"fixed": "3.13.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "46b2a9ca59b0797184fbf7537495bda6e61a1983"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118768.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"320188987521478064689372021070678520387",
"136472532014693454748250242354496026844",
"45376761189223753530982793191316489860",
"154167261854575132901360827516998801220",
"117980694150957271316125198717227675410",
"141162675995603065536858953406027677736",
"151729946318368093849572026900023554951",
"74572113820377347060470080897758055673"
],
"threshold": 0.9
},
"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"
}
}
]
"2026-11-05T07:59:52Z"