CVE-2026-103600

High 7.5 P4 · Monitor (12/100)

Uncontrolled recursion in the ASN.1 parser (Asn1InputStream, Asn1StreamParser) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 a…

Published: 02.10.2026 · Last updated: 30.11.2026 08:19 UTC · Revision 1 · Sources: FIRST Exploit Prediction Scoring System (EPSS), NIST National Vulnerability Database (NVD)

Confirmed facts from the sources

CVSS
7.5 (High) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by nvd@nist.gov
Exploitation confirmed
Not in the CISA KEV catalog
Exploitation estimated (EPSS)
0.49 % · percentile 34.7 % (as of 29.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation.
Public exploit
No reference to a public exploit.
Fix
Fix available
Monitored technologies
No monitored technology

Description (source)

Uncontrolled recursion in the ASN.1 parser (Asn1InputStream, Asn1StreamParser) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker to cause a denial of service via a crafted ASN.1 encoding of deeply nested constructed elements (for example SEQUENCE inside SEQUENCE, in definite-length DER or indefinite-length BER form), because each nesting level is parsed by a further recursive call with no bound on depth. About 2,000 levels (8 KB of DER) are enough to exhaust a 1.5 MB thread stack, the .NET main-thread default on Windows, and raise a StackOverflowException, which .NET cannot catch and which terminates the whole process; on threads with larger stacks, parse time instead grows quadratically with depth (about 9 seconds of CPU for a 64 KB input). Any path that parses untrusted ASN.1 is exposed, including X.509 certificates and CRLs, CMS/PKCS#7, PKCS#8/PKCS#12, OCSP and TLS Certificate messages.

Affected products and versions

Vendor / productAffected versionsFixed inSource
Legion of the Bouncy Castle Inc. bc-csharp< 2.7.0—nvd
bouncycastle bc-csharp< 2.7.0—nvd

Versions as published. “Fixed in” only where a source names the version explicitly.

Recommended mitigation

Vendor patches and guidance

In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.

AI interpretation

No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.

Why this priority?: P4 · Monitor (12/100)

  • Estimated exploitation probability 0.49 % (EPSS, percentile 34.7 %) – an estimate, not confirmation (+0)
  • Technical severity: CVSS 7.5 (HIGH) – on its own not a reason for top priority (+12)
  • Fix available – plan the update (+0)

Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.

Original advisories and links