CVE-2026-103604

Source
https://cve.org/CVERecord?id=CVE-2026-103604
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-103604.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-103604
Published
2026-10-02T07:11:04Z
Modified
2026-10-04T02:46:16Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Quadratic-time escaping when converting X.509 distinguished names to strings
Details

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.

Database specific
{
    "cna_assigner":  "bcorg",
    "cwe_ids":  [
        "CWE-407"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103604.json"
}
References

Affected packages

Git / github.com/bcgit/bc-csharp

Affected ranges

Type
GIT
Repo
https://github.com/bcgit/bc-csharp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.7.0"
        }
    ],
    "source":  [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

release-1.*
release-1.8.0
release-1.8.0-RC.1
release-1.8.0-RC.2
release-1.8.0-RC.3
release-1.8.0-beta.1
release-1.8.0-beta.2
release-1.8.0-beta.3
release-1.8.0-beta.4
release-1.8.1
release-1.8.10
release-1.8.2
release-1.8.3
release-1.8.4
release-1.8.5
release-1.8.6
release-1.8.7
release-1.8.8
release-1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-103604.json"