CVE-2026-118768

Source
https://cve.org/CVERecord?id=CVE-2026-118768
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118768.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-118768
Aliases
  • GHSA-mpr7-9494-4qcw
Downstream
Published
2026-10-29T17:20:05Z
Modified
2026-11-05T07:59:52Z
Severity
  • 5.9 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

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"
}
References

Affected packages

Git / github.com/randombit/botan

Affected ranges

Type
GIT
Repo
https://github.com/randombit/botan
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "1.11.34"
                },
                {
                    "fixed": "3.13.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "46b2a9ca59b0797184fbf7537495bda6e61a1983"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

1.*
1.11.34
2.*
2.0.0
2.0.1
2.1.0
2.10.0
2.11.0
2.12.0
2.12.1
2.13.0
2.14.0
2.15.0
2.16.0
2.17.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
3.*
3.0.0
3.0.0-alpha0
3.0.0-alpha1
3.0.0-rc1
3.1.0
3.1.1
3.10.0
3.11.0
3.11.1
3.12.0
3.2.0
3.3.0
3.4.0
3.5.0
3.6.0
3.6.1
3.7.0
3.7.1
3.8.0
3.8.1
3.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118768.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-11-05T07:59:52Z"