{"id":"CVE-2026-118768","aliases":["AZL-112406","DEBIAN-CVE-2026-118768","EUVD-2026-113277","GHSA-mpr7-9494-4qcw","UBUNTU-CVE-2026-118768"],"status":"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.","severity":{"version":"4.0","score":5.9,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0007,"percentile":0.00034,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-347"],"published":"2026-10-29T17:20:05Z","modified":"2026-11-03T16:06:50Z","fixes":[{"ecosystem":"Debian:14","package":"botan3","fixed_in":["3.13.0+dfsg-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"botan2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.14.0-2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.3+dfsg-1","2.19.3+dfsg-1+deb12u1","2.19.4+dfsg-1","2.19.5+dfsg-1","2.19.5+dfsg-2","2.19.5+dfsg-3","2.19.5+dfsg-4"]},{"source":"osv","ecosystem":"Debian:13","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.5+dfsg-4"]},{"source":"osv","ecosystem":"Debian:13","package":"botan3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0+dfsg-1","3.10.0+dfsg-2","3.11.0+dfsg-1","3.11.1+dfsg-1","3.11.1+dfsg-2","3.12.0+dfsg-1","3.12.0+dfsg-2","3.12.0+dfsg-2~deb13u1","3.13.0+dfsg-1","3.13.0+dfsg-2","3.7.1+dfsg-2","3.8.1+dfsg-1","3.9.0+dfsg-1","3.9.0+dfsg-2","3.9.0+dfsg-2.1"]},{"source":"osv","ecosystem":"Debian:14","package":"botan3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.0+dfsg-2"}]}],"versions":["3.10.0+dfsg-1","3.10.0+dfsg-2","3.11.0+dfsg-1","3.11.1+dfsg-1","3.11.1+dfsg-2","3.12.0+dfsg-1","3.12.0+dfsg-2","3.12.0+dfsg-2~deb13u1","3.13.0+dfsg-1","3.7.1+dfsg-2","3.8.1+dfsg-1","3.9.0+dfsg-1","3.9.0+dfsg-2","3.9.0+dfsg-2.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0-3","2.4.0-4","2.4.0-5ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.0-2","2.9.0-2build1","2.12.1-2","2.12.1-2build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.17.3+dfsg-3","2.19.1+dfsg-2ubuntu1","2.19.1+dfsg-2ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.3+dfsg-1ubuntu1","2.19.3+dfsg-1ubuntu2","2.19.3+dfsg-1ubuntu2+esm1"]}],"products":[{"vendor":"randombit","product":"botan"}],"references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw","tags":["x_refsource_CONFIRM","advisory","report"]},{"url":"https://github.com/randombit/botan/pull/5825","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983","tags":["x_refsource_MISC","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118768","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118768.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-118768","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-118768","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-118768","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-118768","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.","status":"published","published":"2026-10-29T17:20:05.577Z","modified":"2026-11-03T16:06:50.034Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-347"],"updated_at":"2026-11-03T17:29:02.209656Z"}],"euvd":[{"id":"EUVD-2026-113277","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.","status":"published","published":"2026-10-29T17:20:05Z","modified":"2026-11-03T16:06:50Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"updated_at":"2026-11-03T17:18:21.496138Z"}],"nvd":[{"id":"CVE-2026-118768","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.","status":"published","published":"2026-10-29T18:17:28.997Z","modified":"2026-11-03T17:17:59.663Z","cvss":[{"version":"4.0","score":5.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"}],"cwes":["CWE-347"],"updated_at":"2026-11-03T20:18:18.319452Z"}],"osv":[{"id":"CVE-2026-118768","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.","status":"published","published":"2026-10-29T17:20:05.577Z","modified":"2026-11-05T07:59:52.892354918Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"cwes":["CWE-347"],"updated_at":"2026-11-05T09:08:14.330889Z"},{"id":"DEBIAN-CVE-2026-118768","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.","status":"published","published":"2026-10-29T18:17:28.997Z","modified":"2026-11-04T09:47:25.02107998Z","cvss":[{"version":"4.0","score":5.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-04T10:05:57.467041Z"},{"id":"UBUNTU-CVE-2026-118768","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.","status":"published","published":"2026-10-29T18:17:00Z","modified":"2026-11-05T04:42:51Z","cvss":[{"version":"4.0","score":5.9,"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","level":"medium"}],"updated_at":"2026-11-05T13:33:25.727744Z"},{"id":"AZL-112406","title":"CVE-2026-118768 affecting package botan2 2.14.0-2","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.","status":"published","published":"2026-10-29T18:17:28Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:19.001909Z"}]}}
