PatchSiren

PatchSiren cyber security CVE debrief

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

A memory allocation vulnerability in the HSS/LMS signature code of the Bouncy Castle Inc.'s bc-csharp library before version 2.7.0 allows remote attackers to cause a denial of service through memory exhaustion. The vulnerability arises from the lack of checking the level count L when parsing an HSS public key against the RFC 8554 maximum of 8, leading to excessive memory allocation during signature parsing.

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 using the Bouncy Castle Inc.'s bc-csharp library for cryptographic operations should assess their exposure to this vulnerability. This includes teams handling public keys and signatures, as well as those responsible for updating and patching libraries in their systems.

Why it matters

Defenders should prioritize updating to version 2.7.0 or later of the bc-csharp library to mitigate this denial of service vulnerability. The vulnerability allows remote attackers to cause memory exhaustion through excessive memory allocation during signature parsing. Systems using this library for cryptographic operations should be assessed for exposure, particularly those handling public keys and signatures.

  • Memory exhaustion through excessive public key encoding
  • Potential for OutOfMemoryException during signature parsing
  • Denial of service through memory allocation
  • Need for verification of public key and signature handling

Technical summary

The HSS/LMS signature code in the Bouncy Castle Inc.'s bc-csharp library before version 2.7.0 is vulnerable to a denial of service attack through memory exhaustion. The vulnerability occurs because the level count L read when parsing an HSS public key is not checked against the RFC 8554 maximum of 8. This allows a remote unauthenticated attacker who can supply both an HSS public key and a signature to cause excessive memory allocation during signature parsing, potentially leading to an OutOfMemoryException.

Defensive priority

Defenders should prioritize updating to version 2.7.0 or later of the bc-csharp library to mitigate this vulnerability. Systems using this library for cryptographic operations should be assessed for exposure, particularly those handling public keys and signatures.

Recommended defensive actions

  • Update to version 2.7.0 or later of the bc-csharp library
  • Assess systems using this library for cryptographic operations for exposure
  • Verify public key and signature handling in systems using this library
  • 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 CVE record and NVD vulnerability detail provide information on the memory allocation vulnerability in the bc-csharp library. The vendor has released a patch, which is available in version 2.7.0 and later.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-103603 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-103603 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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/f47ad47c7b5745b53d3f9ac711a5a419a272a5d7

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

  • Source reference

    Unverified legacy reference

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

    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.