{"id":"CVE-2026-118768","state":"PUBLISHED","title":"Botan: CLI utility `ocsp_check` accepts unauthenticated responses","description":"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.","publishedAt":"2026-10-29T17:20:05.577Z","updatedAt":"2026-10-29T17:20:05.577Z","severity":{"score":5.9,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["randombit botan"],"affected":[{"vendor":"randombit","product":"botan","versions":[{"version":">= 1.11.34, < 3.13.0","status":"affected"}]}],"references":["https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw","https://github.com/randombit/botan/pull/5825","https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983"],"weaknesses":["CWE-347"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118768.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118768","state":"PUBLISHED","datePublished":"2026-10-29T17:20:05.577Z","dateUpdated":"2026-10-29T17:20:05.577Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-28T19:20:05.017Z"},"containers":{"cna":{"title":"Botan: CLI utility `ocsp_check` accepts unauthenticated responses","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"randombit","product":"botan","versions":[{"version":">= 1.11.34, < 3.13.0","status":"affected"}]}],"references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw","name":"https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/randombit/botan/pull/5825","name":"https://github.com/randombit/botan/pull/5825","tags":["x_refsource_MISC"]},{"url":"https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983","name":"https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"ADJACENT","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","lang":"en","description":"CWE-347: Improper Verification of Cryptographic Signature","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-29T17:20:05.577Z"},"source":{"advisory":"GHSA-mpr7-9494-4qcw","discovery":"UNKNOWN"}}}}}