Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-103600— Unbounded ASN.1 nesting depth causes process-terminating stack overflow

Quick assessment

Affected
Legion of the Bouncy Castle Inc. bc-csharp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Bouncy Castle Inc. 开发的 bc-csharp 库在 2.7.0 版本之前,其 ASN.1 解析器(Asn1InputStream、Asn1StreamParser)存在不受控制的递归问题。远程未经身份验证的攻击者可以通过构造包含深度嵌套构造元素(例如嵌套的 SEQUENCE,以定长 DER 或变长 BER 形式编码)的恶意 ASN.1 编码数据,导致拒绝服务(DoS)漏洞。其根本原因是:每一层嵌套都会触发一次新的递归调用,而递归深度没有设置上限。 大约 2,000 层嵌套(对应 8 KB 的 D

CVSS 8.7 · High EPSS 0.32% · P22

Affected Version Matrix 1

VendorProduct Version RangeStatus
Legion of the Bouncy Castle Inc. bc-csharp < 2.7.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-103600

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Unbounded ASN.1 nesting depth causes process-terminating stack overflow
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Legion of the Bouncy Castle Inc. bc-csharp 0 ~ 2.7.0 -

II. Public POCs for CVE-2026-103600

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-103600

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-103600 (2)

Other References for CVE-2026-103600 (1)

Same Patch Batch · Legion of the Bouncy Castle Inc. · 2026-10-02 · 24 CVEs total

CVE-2026-63569 9.1 CRITICAL MTI/A0 DHAgreement does not validate the peer's ephemeral value
CVE-2026-16000 8.7 HIGH KCcmBlockCipher (DSTU 7624 CCM) tag not bound to nonce when no associated data is used
CVE-2026-63571 8.7 HIGH Attribute certificate path validation does not verify the attribute certificate's signatur
CVE-2026-63566 8.7 HIGH DTLS handshake reassembler allocates buffer from unchecked 24-bit length
CVE-2026-63574 8.7 HIGH Unbounded allocation from OpenPGP signature and user attribute subpacket lengths
CVE-2026-63568 8.7 HIGH Unbounded CMP/CRMF password-based MAC iteration count allows CPU exhaustion
CVE-2026-103604 8.7 HIGH Quadratic-time escaping when converting X.509 distinguished names to strings
CVE-2026-103603 8.7 HIGH Unbounded HSS public key level count allows huge array allocation during signature verific
CVE-2026-17507 8.7 HIGH MLS membership checks compare a uint32 leaf_index as signed, admitting an out-of-range sen
CVE-2026-18036 8.2 HIGH NTRU leaks private key information by reducing secret values with a non-constant-time inte
CVE-2026-63577 8.2 HIGH Name Constraints bypass: directoryName constraint matched at any position in the DN instea
CVE-2026-63576 8.2 HIGH URI name constraints checked against a mis-parsed host
CVE-2026-63573 8.2 HIGH Bleichenbacher padding oracle in CMS RSA PKCS#1 v1.5 key-transport unwrap
CVE-2026-103602 8.2 HIGH Name constraints bypass via trailing dot in rfc822Name, dNSName and URI hosts
CVE-2026-103601 8.2 HIGH CcmBlockCipher and KCcmBlockCipher leave unverified plaintext in the output buffer after a
CVE-2026-63567 8.2 HIGH IesEngine block-cipher mode checks padding before MAC (CBC padding oracle)
CVE-2026-15999 8.2 HIGH AES-CCM decryption accepts zero or out-of-range tag length, bypassing authentication
CVE-2026-16001 8.2 HIGH IesEngine stream-mode MAC forgery via length-dependent KDF split
CVE-2026-63575 7.1 HIGH PKCS#12 key derivation loops about 2^32 times on a zero or negative iteration count
CVE-2026-63578 7.1 HIGH Unbounded PBE iteration count when decrypting PKCS#8 private keys

Showing top 20 of 24 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-103600

No comments yet


Leave a comment