CVE-2026-103604Quadratic-time escaping when converting X.509 distinguished names to strings
Updated under an hour ago ()
Does this affect you?
It affects Legion of the Bouncy Castle Inc. bc-csharp. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.26%, higher than 16% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.7 HIGH (v4.0, CNA)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
- Weakness (CWE)
- CWE-407
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.26% (percentile 16)
- Assigned by
- bcorg
- NVD analysis
- Undergoing Analysis
- Record last updated
- Oct 2, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Legion of the Bouncy Castle Inc. bc-csharp legion_of_the_bouncy_castle:bc_csharp (from the name) | before 2.7.0 | CNA record |
References
- https://github.com/bcgit/bc-csharp/wiki/CVE-2026-103604vendor-advisory
- https://github.com/bcgit/bc-csharp/commit/bd03e38bbb49db5be33f4463fc40997400c545ccpatch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.