{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.11.34"
                  },
                  {
                    "fixed": "3.13.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "46b2a9ca59b0797184fbf7537495bda6e61a1983"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "b816a3652c1359028f59d64a2f742564547ab782"
            },
            {
              "fixed": "2a81eef56c96c237e590c27f9a75e60317c9c700"
            },
            {
              "fixed": "46b2a9ca59b0797184fbf7537495bda6e61a1983"
            }
          ],
          "repo": "https://github.com/randombit/botan",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mpr7-9494-4qcw"
  ],
  "database_specific": {
    "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"
  },
  "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.",
  "id": "CVE-2026-118768",
  "modified": "2026-11-05T02:30:16.621789770Z",
  "published": "2026-10-29T17:20:05.577Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Botan: CLI utility `ocsp_check` accepts unauthenticated responses"
}