Legion of the Bouncy Castle Inc. BC-JAVA
Possible OOM from unbounded up-front allocation on a definite-length read
In Bouncy Castle for Java before 1.85, Possible OOM from unbounded up-front allocation on a definite-length read. 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), and before bctls-fips 1.0.24.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-789
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Legion of the Bouncy Castle Inc. BC-JAVA
- < 1.85
Fixed in 1.85
Legion of the Bouncy Castle Inc. BC-LTS-JAVA
- >= 2.73.0, < 2.73.12
Fixed in 2.73.12
Legion of the Bouncy Castle Inc. BC-FJA
- >= 1.0.0, < 1.0.2.7
- >= 2.0.0, < 2.0.2
- >= 2.1.0, < 2.1.3
Fixed in 1.0.2.7, 2.0.2, 2.1.3
Legion of the Bouncy Castle Inc. BC-FJA
- >= 1.0.0, < 1.0.24
Fixed in 1.0.24
Mitigation
Upgrade BC-JAVA to 1.85 or later.
Upgrade BC-LTS-JAVA to 2.73.12 or later.
Upgrade BC-FJA to 1.0.2.7 or 2.0.2 or 2.1.3 or later.
Upgrade BC-FJA to 1.0.24 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.