{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-118768",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-10-28T19:20:05.017Z",
        "datePublished": "2026-10-29T17:20:05.577Z",
        "dateUpdated": "2026-10-29T17:20:05.577Z"
    },
    "containers": {
        "cna": {
            "title": "Botan: CLI utility `ocsp_check` accepts unauthenticated responses",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-347",
                            "lang": "en",
                            "description": "CWE-347: Improper Verification of Cryptographic Signature",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw"
                },
                {
                    "name": "https://github.com/randombit/botan/pull/5825",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/randombit/botan/pull/5825"
                },
                {
                    "name": "https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983"
                }
            ],
            "affected": [
                {
                    "vendor": "randombit",
                    "product": "botan",
                    "versions": [
                        {
                            "version": ">= 1.11.34, < 3.13.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-29T17:20:05.577Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-mpr7-9494-4qcw",
                "discovery": "UNKNOWN"
            }
        }
    }
}