PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-103604 Legion of the Bouncy Castle Inc. CVE debrief

A denial-of-service vulnerability exists in the X.509 distinguished name string conversion functionality of Legion of the Bouncy Castle Inc.'s bc-csharp library versions prior to 2.7.0. This vulnerability allows a remote unauthenticated attacker to cause CPU exhaustion through specially crafted certificates, CRLs, certification requests, or other structures with long attribute values that require escaping.

Vendor
Legion of the Bouncy Castle Inc.
Product
bc-csharp
CVSS
HIGH 8.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-02
Original CVE updated
2026-10-28
Advisory published
2026-10-02
Advisory updated
2026-10-28

Who should care

Defenders responsible for systems that use the bc-csharp library for certificate validation, logging, or display of distinguished names should assess exposure and prioritize patching or mitigation.

Why it matters

CVE-2026-103604 is a denial-of-service vulnerability in the Bouncy Castle bc-csharp library that allows remote attackers to cause CPU exhaustion through specially crafted certificates. Defenders should prioritize patching and assess exposure in systems handling certificate validation.

  • Potential CPU exhaustion leading to denial-of-service
  • Increased risk of service disruption through exploitation of certificate validation processes
  • Need for verification of affected versions and exposure in specific deployment contexts
  • Priority on patching or mitigating the vulnerability in systems handling certificate validation

Technical summary

The vulnerability exists in the X509Name.ToString and IetfUtilities.ValueToString methods of the bc-csharp library. These methods inefficiently handle long attribute values that require escaping, leading to quadratic complexity and potential CPU exhaustion. This inefficiency can cause CPU exhaustion through specially crafted certificates, CRLs, certification requests, or other structures with long attribute values that require escaping, impacting systems that use these methods for certificate validation, logging, or display of distinguished names.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially in systems that handle certificate validation, logging, or display of distinguished names.

Recommended defensive actions

  • Patch bc-csharp library to version 2.7.0 or later
  • Implement compensating controls to limit exposure to untrusted certificates
  • Monitor systems for unusual CPU usage patterns that may indicate exploitation attempts
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by inefficient algorithmic complexity in the X509Name.ToString and IetfUtilities.ValueToString methods. This results in quadratic growth in processing time with the length of the attribute value, leading to potential CPU exhaustion.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-103604 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-103604

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-103604 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-103604

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bcgit/bc-csharp/commit/bd03e38bbb49db5be33f4463fc40997400c545cc

    91579145-5d7b-4cc5-b925-a0262ff19630 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bcgit/bc-csharp/wiki/CVE-2026-103604

    91579145-5d7b-4cc5-b925-a0262ff19630 - Patch, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.