Improper Certificate Validation Affecting botan3 package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.2% (11th 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-ECHOLATEST-BOTAN3-22283260
  • published8 Nov 2026
  • disclosed6 Nov 2026

Introduced: 6 Nov 2026

NewCVE-2026-48057  (opens in a new tab)
CWE-295  (opens in a new tab)
CWE-1023  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest botan3.

NVD Description

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

Botan is a C++ cryptography library. Prior to 3.13.0, Botan's X.509 Distinguished Name decoder flattens the Attribute-Value Assertions in each Relative Distinguished Name and loses multi-value RDN grouping before DN name-constraint enforcement. An attacker controlling a name-constrained intermediate CA can issue a certificate with a multi-value RDN whose first Common Name matches the permitted constraint and whose second Common Name is attacker-chosen, causing the constraint check to accept the flattened first value. If the certificate contains no subjectAlternativeName extension, the second Common Name can then be accepted as a hostname; Botan does not fall back to Common Name hostname matching when any subjectAlternativeName is present. The exposure is limited to deployments using DN name constraints, which are uncommon outside internal PKIs, and to certificates without a subjectAlternativeName. This issue is fixed in version 3.13.0.