In Bouncy Castle for Java before 1.85, Possible OOM from unbounded up-front allocation on a definite-length read. (CVE-2026-14682)
Bouncy Castle for Java versions prior to 1.85 and certain LTS and FIPS versions contain a vulnerability that may cause an out-of-memory (OOM) condition due to unbounded memory allocation during a definite-length read operation. This issue affects multiple Bouncy Castle Java variants including LTS before 2.73.12, BC-FJA before 1.0.2.7, 2.0.2, and 2.1.3, and bctls-fips before 1.0.24. The vulnerability is classified under CWE-789 (Uncontrolled Memory Allocation).
AI Analysis
Technical Summary
This vulnerability in Bouncy Castle for Java arises from unbounded up-front memory allocation when processing definite-length reads, potentially leading to an out-of-memory (OOM) condition. It affects versions before 1.85 of the main Java library, as well as specific older versions of the LTS, FIPS, and TLS FIPS variants. The issue is identified as CWE-789, indicating uncontrolled memory allocation. No patch links are provided in the source data, and no known exploits are reported in the wild. The CVSS 4.0 vector indicates a network attack vector with no privileges or user interaction required, and a high impact on availability due to potential OOM.
Potential Impact
Successful exploitation can cause an application using vulnerable Bouncy Castle Java libraries to consume excessive memory, leading to an out-of-memory condition and potential denial of service. There is no indication of confidentiality or integrity impact. No known exploits are currently reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or fix links are provided, users should monitor the vendor's announcements for updates. Until a fix is available, consider limiting input sizes or applying resource constraints to mitigate potential OOM conditions.
In Bouncy Castle for Java before 1.85, Possible OOM from unbounded up-front allocation on a definite-length read. (CVE-2026-14682)
Description
Bouncy Castle for Java versions prior to 1.85 and certain LTS and FIPS versions contain a vulnerability that may cause an out-of-memory (OOM) condition due to unbounded memory allocation during a definite-length read operation. This issue affects multiple Bouncy Castle Java variants including LTS before 2.73.12, BC-FJA before 1.0.2.7, 2.0.2, and 2.1.3, and bctls-fips before 1.0.24. The vulnerability is classified under CWE-789 (Uncontrolled Memory Allocation).
CVSS v4.0
Affected software
pkg:maven/org.bouncycastle/bcprov-jdk15onpkg:maven/org.bouncycastle/bcprov-ext-jdk15onpkg:maven/org.bouncycastle/bc-fjapkg:maven/org.bouncycastle/bctls-fipsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Bouncy Castle for Java arises from unbounded up-front memory allocation when processing definite-length reads, potentially leading to an out-of-memory (OOM) condition. It affects versions before 1.85 of the main Java library, as well as specific older versions of the LTS, FIPS, and TLS FIPS variants. The issue is identified as CWE-789, indicating uncontrolled memory allocation. No patch links are provided in the source data, and no known exploits are reported in the wild. The CVSS 4.0 vector indicates a network attack vector with no privileges or user interaction required, and a high impact on availability due to potential OOM.
Potential Impact
Successful exploitation can cause an application using vulnerable Bouncy Castle Java libraries to consume excessive memory, leading to an out-of-memory condition and potential denial of service. There is no indication of confidentiality or integrity impact. No known exploits are currently reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or fix links are provided, users should monitor the vendor's announcements for updates. Until a fix is available, consider limiting input sizes or applying resource constraints to mitigate potential OOM conditions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4hc3-69f9-4wfx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-14682"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a710683bf32cb7a343985d5
Added to database: 08/03/2026, 21:22:11 UTC
Last enriched: 08/03/2026, 21:41:38 UTC
Last updated: 09/17/2026, 22:01:33 UTC
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.