CVE-2026-14682 Details
Description
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.
A vulnerability in Bouncy Castle for Java, present in versions prior to 1.85, all LTS versions prior to 2.73.12, and several BC-FJA 2.0.X and 2.1.X series versions, allows for a denial-of-service condition via unbounded memory allocation. This issue arises during the processing of definite-length ASN.1 objects, where a crafted header can trigger excessive heap memory usage, leading to an OutOfMemoryError before any actual data is processed. The vulnerability is caused by the library's handling of ASN.1 definite-length objects, which could be exploited by sending a short, specially crafted input that declares a large length, driving a heap-sized allocation upfront.
Users should upgrade to Bouncy Castle for Java version 1.85 or later, or to version 2.73.12 or later for Bouncy Castle for Java LTS. For Bouncy Castle for Java FIPS, upgrade to bc-fips 1.0.2.7, 2.0.2 or 2.1.3.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bcgit/bc-java/commit/37094e504ef50cf9ce4e0fb9e5105d495ff5c2d2 | bcorg | Patch |
| https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9014682 | bcorg | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-789 | Memory Allocation with Excessive Size Value | bcorg |
Affected Products
| Product | Versions |
|---|---|
| bouncycastle bc-java | < 1.85 |
CPE
Remediation
| |
| bouncycastle bctls-fips | < 1.0.24 |
CPE
Remediation
| |
| bouncycastle bouncy castle for java lts | <= 2.73.11 |
CPE
Remediation
| |
| bouncycastle fips java api | >= 1.0.0, < 1.0.2.7 >= 2.0.0, < 2.0.2 >= 2.1.0, < 2.1.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 28, 2026 | Initial Analysis | [email protected] |
| Aug 3, 2026 | CVE Modified | CISA-ADP |
| Aug 3, 2026 | CVE Modified | bcorg |
| Aug 3, 2026 | New CVE Received | bcorg |