Loop with Unreachable Exit Condition ('Infinite Loop') Affecting bouncycastle-javadoc package, versions <0:1.70-4.amzn2023.0.8


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.31% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-BOUNCYCASTLEJAVADOC-19821121
  • published15 Sept 2026
  • disclosed3 Aug 2026

Introduced: 3 Aug 2026

CVE-2026-59645  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 bouncycastle-javadoc to version 0:1.70-4.amzn2023.0.8 or higher.
This issue was patched in ALAS2023-2026-2153.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bouncycastle-javadoc package and not the bouncycastle-javadoc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

In Bouncy Castle for Java before 1.85, OER parser recurses without depth limit on self-referential IEEE 1609.2 schema. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcutil-fips 2.0.7 (2.0.X series) and 2.1.7 (2.1.X series).

CVSS Base Scores

version 3.1