CVE-2024-34702 Affecting botan3 package, versions <3.5.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.84% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-BOTAN3-17296363
  • published11 Jun 2026
  • disclosed8 Jul 2024

Introduced: 8 Jul 2024

CVE-2024-34702  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 botan3 to version 3.5.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream botan3 package and not the botan3 package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.