CVE-2026-103604
published high CVSS 4.0 · 8.7Quadratic-time escaping when converting X.509 distinguished names to strings
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Legion of the Bouncy Castle Inc. | — | BouncyCastle.Cryptographybc-csharp · 0 to < 2.7.0 · Other versions: unaffected | Affected | Not stated | bcorg |
Description
Inefficient algorithmic complexity in X.509 distinguished name string conversion (X509Name.ToString and IetfUtilities.ValueToString) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker to cause a denial of service through CPU exhaustion via a certificate, CRL, certification request or other structure whose name contains a long attribute value made up of characters that must be escaped, such as commas, or of leading or trailing spaces, because each escaping backslash was inserted into the buffer being scanned, so the work grew quadratically with the length of the value. Applications are exposed when they convert such a name to a string, for example to log or display it, or compare it with IetfUtilities.RdnAreEqual, as PKIX path validation does for directoryName name constraints.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- bcorg · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Legion of the Bouncy Castle Inc. | bc-csharp | 0 to < 2.7.0 (affected · semver)Default: unaffected | bcorg · cna |
Weaknesses
1- CWE-407 CWE-407 Inefficient Algorithmic Complexity
References
2Provider assertions
2bcorg · cna
Quadratic-time escaping when converting X.509 distinguished names to strings
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c7649b5996ffef934ac9b328662c8bbd10a53014c1e4eebfb2390396feb2de6
- Ingested
- 02 Oct 2026, 19:09:27 UTC
- Source record
- Official CVE record