{"schemaVersion":3,"id":"CVE-2024-34703","aliases":["ALPINE-CVE-2024-34703","MGASA-2024-0297","SUSE-SU-2024:2415-1","UBUNTU-CVE-2024-34703","DEBIAN-CVE-2024-34703","openSUSE-SU-2024:14095-1"],"status":"published","duplicateOf":null,"title":"Botan Vulnerable to Denial of Service Due to Overly Large Elliptic Curve Parameters","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 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.","dates":{"published":"2024-06-30T20:22:32.910Z","modified":"2026-01-30T19:54:58.434Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00504,"percentile":0.42183,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.0040000000000000105,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.005},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00504,"percentile":0.42183}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00504,"percentile":0.42183}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-405","name":"Asymmetric Resource Consumption (Amplification)","description":"The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is \"asymmetric.\"","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/405.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"alpine","product":"botan","name":"botan","label":"botan","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/botan","purlType":"apk","versions":[{"text":"< 2.19.5-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.19.4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.5-r0 | < 2.19.4-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"botan","name":"botan","label":"botan","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/botan","purlType":"deb","versions":[{"text":"< 2.19.3+dfsg-1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.19.4+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.3+dfsg-1+deb12u1 | < 2.19.4+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"botan","name":"botan","label":"botan","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/botan","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.19.1+dfsg-2ubuntu1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.19.3+dfsg-1ubuntu2+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.19.1+dfsg-2ubuntu1+esm1 | < 2.19.3+dfsg-1ubuntu2+esm1","eol":null,"hubHref":null},{"vendor":"mageia","product":"botan2","name":"botan2","label":"botan2","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/botan2","purlType":"rpm","versions":[{"text":"< 2.19.5-1.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.5-1.mga9","eol":null,"hubHref":null},{"vendor":"randombit","product":"botan","name":"botan","label":"botan","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0-alpha0, < 3.3.0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.19.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0-alpha0, < 3.3.0 | < 2.19.4","eol":null,"hubHref":"/vendor/randombit/botan"},{"vendor":"opensuse","product":"MozillaThunderbird&distro=openSUSE Leap 15.5","name":"MozillaThunderbird","label":"MozillaThunderbird&distro=openSUSE Leap 15.5","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/MozillaThunderbird&distro=openSUSE Leap 15.5","purlType":"rpm","versions":[{"text":"< 115.12.2-150200.8.168.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 115.12.2-150200.8.168.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"MozillaThunderbird&distro=openSUSE Leap 15.6","name":"MozillaThunderbird","label":"MozillaThunderbird&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/MozillaThunderbird&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 115.12.2-150200.8.168.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 115.12.2-150200.8.168.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"MozillaThunderbird&distro=openSUSE Tumbleweed","name":"MozillaThunderbird","label":"MozillaThunderbird&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/MozillaThunderbird&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 115.12.2-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 115.12.2-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"MozillaThunderbird&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","name":"MozillaThunderbird","label":"MozillaThunderbird&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/MozillaThunderbird&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","purlType":"rpm","versions":[{"text":"< 115.12.2-150200.8.168.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 115.12.2-150200.8.168.1","eol":null,"hubHref":null},{"vendor":"suse","product":"MozillaThunderbird&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","name":"MozillaThunderbird","label":"MozillaThunderbird&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/MozillaThunderbird&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","purlType":"rpm","versions":[{"text":"< 115.12.2-150200.8.168.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 115.12.2-150200.8.168.1","eol":null,"hubHref":null},{"vendor":"suse","product":"MozillaThunderbird&distro=SUSE Linux Enterprise Workstation Extension 15 SP5","name":"MozillaThunderbird","label":"MozillaThunderbird&distro=SUSE Linux Enterprise Workstation Extension 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/MozillaThunderbird&distro=SUSE Linux Enterprise Workstation Extension 15 SP5","purlType":"rpm","versions":[{"text":"< 115.12.2-150200.8.168.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 115.12.2-150200.8.168.1","eol":null,"hubHref":null},{"vendor":"suse","product":"MozillaThunderbird&distro=SUSE Linux Enterprise Workstation Extension 15 SP6","name":"MozillaThunderbird","label":"MozillaThunderbird&distro=SUSE Linux Enterprise Workstation Extension 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/MozillaThunderbird&distro=SUSE Linux Enterprise Workstation Extension 15 SP6","purlType":"rpm","versions":[{"text":"< 115.12.2-150200.8.168.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 115.12.2-150200.8.168.1","eol":null,"hubHref":null}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7","label":"github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4","label":"github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a","label":"github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-34703","label":"security.alpinelinux.org/vuln/CVE-2024-34703","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0297.html","label":"advisories.mageia.org/MGASA-2024-0297.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33429","label":"bugs.mageia.org/show_bug.cgi?id=33429","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QNLPSUOQTRVMV6WYZLISDVNWVFZEBQR5/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20242415-1/","label":"www.suse.com/support/update/announcement/2024/suse-su-20242415-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1226495","label":"bugzilla.suse.com/1226495","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1227239","label":"bugzilla.suse.com/1227239","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2024-34703","label":"www.suse.com/security/cve/CVE-2024-34703","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-34703","label":"ubuntu.com/security/CVE-2024-34703","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-34703","label":"www.cve.org/CVERecord?id=CVE-2024-34703","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7586-1","label":"ubuntu.com/security/notices/USN-7586-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-34703","label":"security-tracker.debian.org/tracker/CVE-2024-34703","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:0201-1","OPENSUSE-SU-2024:14188-1","SUSE-SU-2026:4268-1","USN-7586-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:0201-1","OPENSUSE-SU-2024:14188-1","SUSE-SU-2026:4268-1","USN-7586-1"]},"timeline":[{"kind":"published","date":"2024-06-30T20:22:32.910Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-30T19:54:58.434Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T21:14:51.804Z","stale":false,"partial":false}}