CVEfocus › CVE database › CVE-2024-34703

CVE-2024-34703Botan Vulnerable to Denial of Service Due to Overly Large Elliptic Curve Parameters

CVSS 7.5 HighEPSS 0.9% (higher than 57% of CVEs)Published 2024-06-30Updated 2026-01-30Assigner: GitHub_M

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.

CWE-405CWE-770

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
3Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10botanNot affected
vulnerable_code_not_present
Ubuntu 24.04botanFix pending2.19.3+dfsg-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-34703
Ubuntu 22.04botanFix pending2.19.1+dfsg-2ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-34703
Ubuntu 20.04botanFix pendingUBUNTU-CVE-2024-34703
Debian 13botanFixed2.19.4+dfsg-1DEBIAN-CVE-2024-34703
Debian 12botanFixed2.19.3+dfsg-1+deb12u1DEBIAN-CVE-2024-34703
Alpine Linux 3.21botanFixed2.19.4-r0ALPINE-CVE-2024-34703
Alpine Linux 3.20botanFixed2.19.4-r0ALPINE-CVE-2024-34703
Alpine Linux 3.19botanFixed2.19.5-r0ALPINE-CVE-2024-34703
Alpine Linux 3.18botanFixed2.19.5-r0ALPINE-CVE-2024-34703
Alpine Linux 3.17botanFixed2.19.5-r0ALPINE-CVE-2024-34703

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.