{"id":"CVE-2026-103603","aliases":["CVE-2026-103603"],"related":[],"kind":"vulnerability","state":"published","title":"Unbounded HSS public key level count allows huge array allocation during signature verification","summary":"Memory allocation with excessive size value in the HSS/LMS signature code (HssPublicKeyParameters, HssSignature) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker who can supply both an HSS public key and a signature to cause a denial of service through memory exhaustion via a public key encoding with an excessive level count, because the level count L read when parsing an HSS public key was not checked against the RFC 8554 maximum of 8, and signature parsing then allocated an array of L - 1 entries before reading any further signature data. A single verification can commit up to about 17 GB of memory or fail with an OutOfMemoryException.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Memory allocation with excessive size value in the HSS/LMS signature code (HssPublicKeyParameters, HssSignature) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker who can supply both an HSS public key and a signature to cause a denial of service through memory exhaustion via a public key encoding with an excessive level count, because the level count L read when parsing an HSS public key was not checked against the RFC 8554 maximum of 8, and signature parsing then allocated an array of L - 1 entries before reading any further signature data. A single verification can commit up to about 17 GB of memory or fail with an OutOfMemoryException.","source":"cvelist"}],"published":"2026-10-02T07:10:34.017Z","modified":"2026-10-28T13:29:12.200Z","severity":{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-789"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.7.0","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"bc-csharp","package":"BouncyCastle.Cryptography","repo":"https://github.com/bcgit/bc-csharp","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.7.0"}],"vendor":"bouncycastle","product":"bc-csharp","cpe":"cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bcgit/bc-csharp/wiki/CVE-2026-103603","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-csharp/commit/f47ad47c7b5745b53d3f9ac711a5a419a272a5d7","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Discovered by Claude, Anthropic's AI assistant, and triaged by the Anthropic security team in collaboration with Anthropic Research."],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-02T17:44:39.796Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-103603","url":"https://www.cve.org/CVERecord?id=CVE-2026-103603","licence":"CVE Terms of Use","modified":"2026-10-02T17:44:48.251Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-103603","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103603","licence":"Public domain","modified":"2026-10-28T13:29:12.200Z"}],"updatedAt":"2026-11-25T22:59:41.912Z","epss":{"score":0.00522,"percentile":0.45816,"date":"2026-12-01T12:00:22.000Z"}}