{"id":"CVE-2024-34702","aliases":["ALPINE-CVE-2024-34702","AZL-43942","AZL-44796","DEBIAN-CVE-2024-34702","EUVD-2024-34997","GHSA-5gg9-hqpr-r58j","OESA-2024-1923","OESA-2024-1924","OESA-2024-1925","UBUNTU-CVE-2024-34702","USN-7586-1","openSUSE-SU-2024:0201-1","openSUSE-SU-2024:14188-1"],"status":"published","title":"Botan has a Denial of Service Due to Excessive Name Constraints","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00845,"percentile":0.58297,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-405"],"published":"2024-07-08T16:22:37Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Alpine:v3.17","package":"botan","fixed_in":["2.19.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"botan","fixed_in":["2.19.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"botan","fixed_in":["2.19.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"botan","fixed_in":["2.19.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"botan","fixed_in":["2.19.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"botan3","fixed_in":["3.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"botan3","fixed_in":["3.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"botan3","fixed_in":["3.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"botan3","fixed_in":["3.5.0-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"botan","fixed_in":["2.19.3+dfsg-1+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"botan","fixed_in":["2.19.5+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"botan","fixed_in":["2.19.1+dfsg-2ubuntu1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"botan","fixed_in":["2.19.3+dfsg-1ubuntu2+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.17","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"botan3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"botan3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"botan3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"botan3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0-r0"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"botan2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.14.0-2"}]}]},{"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"},{"fixed":"2.19.3+dfsg-1+deb12u1"}]}],"versions":["2.19.3+dfsg-1"]},{"source":"osv","ecosystem":"Debian:13","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5+dfsg-1"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS","package":"botan2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.3-3.oe2403"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"botan2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.3-3.oe2203sp3"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"botan2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.3-3.oe2203sp4"}]}],"bundled":3},{"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"},{"fixed":"2.19.1+dfsg-2ubuntu1+esm1"}]}],"versions":["2.17.3+dfsg-3","2.19.1+dfsg-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.3+dfsg-1ubuntu2+esm1"}]}],"versions":["2.19.3+dfsg-1ubuntu1","2.19.3+dfsg-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.1+dfsg-2ubuntu1+esm1"}]}],"versions":["2.17.3+dfsg-3","2.19.1+dfsg-2ubuntu1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.3+dfsg-1ubuntu2+esm1"}]}],"versions":["2.19.3+dfsg-1ubuntu1","2.19.3+dfsg-1ubuntu2"],"bundled":5},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP5","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5-bp155.2.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5-bp155.2.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.5-1.1"}]}],"bundled":3}],"products":[{"vendor":"randombit","product":"botan"}],"references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-5gg9-hqpr-r58j","tags":["x_refsource_CONFIRM","x_transferred","advisory","report"]},{"url":"https://github.com/randombit/botan/pull/4034","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/pull/4045","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/pull/4047","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/pull/4052","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/pull/4186","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/pull/4187","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/commit/21dccc8fef18c165ba3301d850ac61521f85637e","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/commit/39535f13c322f56aa3da2f44b2b6abb8619a82ac","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/commit/477822a2d10f02d8ba46c9d8a5132f25843f5cc1","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/commit/7606d70d3a2ac7114476ec2651ca0243c4536fdf","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/commit/c3264821b9f6286ee4e6e3e06826f6b7177e6d41","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://github.com/randombit/botan/commit/ff704b12e6fa351aaedd07bffdc91722e84586b8","tags":["x_refsource_MISC","x_transferred","fix","report"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-34702","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34702","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34702.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-34702","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/security-bulletins/detail?id=openEuler-SA-2024-1923","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34703","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39312","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/security-bulletins/detail?id=openEuler-SA-2024-1924","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/security-bulletins/detail?id=openEuler-SA-2024-1925","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-34702","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-34702","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7586-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-34703","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-39312","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50382","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-50383","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/6IOSLFSD2TJGWL4XB37VIQSVW7SPG2IP/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1227238","tags":["report"]},{"url":"https://bugzilla.suse.com/1227607","tags":["report"]},{"url":"https://bugzilla.suse.com/1227608","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2024-34702","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-34703","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-39312","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-34702","title":"Botan has a Denial of Service Due to Excessive Name Constraints","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T16:22:37.77Z","modified":"2024-08-02T02:59:22.209Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-405"],"updated_at":"2026-11-02T14:34:23.516065Z"}],"euvd":[{"id":"EUVD-2024-34997","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T16:22:37Z","modified":"2024-08-02T02:59:22Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-03T03:50:20.898281Z"}],"nvd":[{"id":"CVE-2024-34702","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T17:15:11.233Z","modified":"2026-06-17T07:33:54.357Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-405"],"updated_at":"2026-11-02T14:10:10.545705Z"}],"osv":[{"id":"ALPINE-CVE-2024-34702","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T17:15:11.233Z","modified":"2026-11-02T11:17:50.095469109Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:27:49.709457Z"},{"id":"CVE-2024-34702","title":"Botan has a Denial of Service Due to Excessive Name Constraints","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T16:22:37.77Z","modified":"2026-10-28T02:30:42.445027257Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-405"],"updated_at":"2026-11-02T15:44:40.391953Z"},{"id":"DEBIAN-CVE-2024-34702","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T17:15:11.233Z","modified":"2026-11-02T12:02:31.774344633Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:42.530184Z"},{"id":"OESA-2024-1923","title":"botan2 security update","description":"Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS \\#10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan.\r\n\r\nSecurity Fix(es):\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.(CVE-2024-34702)\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.\n(CVE-2024-34703)\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.(CVE-2024-39312)","status":"published","published":"2024-08-02T11:07:23Z","modified":"2026-08-18T01:18:31.736577441Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:41.595342Z"},{"id":"OESA-2024-1924","title":"botan2 security update","description":"Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS \\#10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan.\r\n\r\nSecurity Fix(es):\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.(CVE-2024-34702)\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.\n(CVE-2024-34703)\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.(CVE-2024-39312)","status":"published","published":"2024-08-02T11:07:23Z","modified":"2026-08-18T01:18:31.863130655Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:41.595342Z"},{"id":"OESA-2024-1925","title":"botan2 security update","description":"Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS \\#10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan.\r\n\r\nSecurity Fix(es):\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.(CVE-2024-34702)\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.\n(CVE-2024-34703)\r\n\r\nBotan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.(CVE-2024-39312)","status":"published","published":"2024-08-02T11:07:23Z","modified":"2026-08-18T01:18:31.896637858Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:41.595342Z"},{"id":"UBUNTU-CVE-2024-34702","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T17:15:00Z","modified":"2026-04-22T14:50:07.889417Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T16:54:50.784131Z"},{"id":"AZL-43942","title":"CVE-2024-34702 affecting package botan2 2.14.0-2","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T17:15:11Z","modified":"2026-04-21T04:31:13.465684Z","updated_at":"2026-11-02T15:28:05.284713Z"},{"id":"AZL-44796","title":"CVE-2024-34702 affecting package botan2 2.14.0-2","description":"Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.","status":"published","published":"2024-07-08T17:15:11Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:20.321068Z"},{"id":"openSUSE-SU-2024:0201-1","title":"Security update for Botan","description":"This update for Botan fixes the following issues:\n\nUpdate to 2.19.5:\n\n* Fix multiple Denial of service attacks due to X.509 cert processing:\n* CVE-2024-34702 - boo#1227238\n* CVE-2024-34703 - boo#1227607\n* CVE-2024-39312 - boo#1227608\n* Fix a crash in OCB\n* Fix a test failure in compression with certain versions of zlib \n* Fix some iterator debugging errors in TLS CBC decryption. \n* Avoid a miscompilation in ARIA when using XCode 14 \n","status":"published","published":"2024-07-16T06:28:15Z","modified":"2026-02-04T02:45:43.823344Z","updated_at":"2026-11-02T16:58:33.135986Z"},{"id":"openSUSE-SU-2024:14188-1","title":"Botan-doc-2.19.5-1.1 on GA media","description":"These are all security issues fixed in the Botan-doc-2.19.5-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-07-15T00:00:00Z","modified":"2026-02-04T03:27:33.133179Z","updated_at":"2026-11-02T16:58:36.662953Z"},{"id":"USN-7586-1","title":"botan vulnerabilities","description":"It was discovered that Botan could have compiler dependent operations\ninduced under certain circumstances. An attacker could possibly use this\nissue to cause undefined behavior. (CVE-2024-50382, CVE-2024-50383)\n\nBing Shi discovered that Botan did not limit the size of certain inputs\nwhen checking primality and name constraints. An attacker could possibly\nuse this issue to cause a denial of service. (CVE-2024-34702,\nCVE-2024-34703)\n\nIt was discovered that Botan did not correctly handle conflicting name\nconstraints. An attacker could possibly use this issue to bypass\nauthentication. (CVE-2024-39312)","status":"published","published":"2025-06-23T02:10:22Z","modified":"2026-04-27T18:05:02.082909Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
