{"id":"CVE-2026-13506","aliases":["CVE-2026-13506","GHSA-qp49-qgx5-5m26"],"related":[],"kind":"vulnerability","state":"published","title":"Lazy ASN.1 sequence forcing resets nesting-depth guard","summary":"In Bouncy Castle for Java before 1.85, Lazy ASN.1 sequence forcing resets nesting-depth guard. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Bouncy Castle for Java before 1.85, Lazy ASN.1 sequence forcing resets nesting-depth guard. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).","source":"cvelist"}],"published":"2026-08-03T02:56:49.476Z","modified":"2026-09-18T17:45:06.096Z","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/U:Amber","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/U:Amber","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","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"},{"scorer":"GitHub","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/U:Amber","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-674"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"1.85","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","package":"bcprov","repo":"https://github.com/bcgit/bc-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"2.73.0","fixed":"2.73.12","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","package":"bcprov-lts8on","repo":"https://github.com/bcgit/bc-lts-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"1.0.0","fixed":"1.0.2.7","status":"affected"},{"type":"maven","introduced":"2.0.0","fixed":"2.0.2","status":"affected"},{"type":"maven","introduced":"2.1.0","fixed":"2.1.3","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","package":"bc-fips","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.85"}],"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.2.7"}],"ecosystem":"Maven","package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.2"}],"ecosystem":"Maven","package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.3"}],"ecosystem":"Maven","package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.73.12"}],"ecosystem":"Maven","package":"org.bouncycastle:bcprov-lts8on","purl":"pkg:maven/org.bouncycastle/bcprov-lts8on","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.85"}],"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.85"}],"vendor":"bouncycastle","product":"bc-java","cpe":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"2.73.11"}],"vendor":"bouncycastle","product":"bouncy_castle_for_java_lts","cpe":"cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.0.2.7"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.2"},{"status":"affected","introduced":"2.1.0","fixed":"2.1.3"}],"vendor":"bouncycastle","product":"fips_java_api","cpe":"cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE-2026-13506","tags":["third-party-advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bcgit/bc-java/commit/77454da9b3dcaaa2991412d1c3c1a6e1a338ff84","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13506","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java","tags":["package"],"sources":["ghsa"]}],"credits":["Yt","Alex Gaynor in collaboration with Claude and Anthropic Research"],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-03T15:08:42.725Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-13506","url":"https://www.cve.org/CVERecord?id=CVE-2026-13506","licence":"CVE Terms of Use","modified":"2026-08-03T15:09:01.597Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qp49-qgx5-5m26","url":"https://github.com/advisories/GHSA-qp49-qgx5-5m26","licence":"CC-BY-4.0","modified":"2026-09-18T17:45:06.096Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-13506","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13506","licence":"Public domain","modified":"2026-08-28T16:41:22.840Z"}],"updatedAt":"2026-11-25T22:59:30.842Z","epss":{"score":0.00478,"percentile":0.42892,"date":"2026-12-01T12:00:22.000Z"}}