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.
Published: 2026-08-03
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an attacker to trigger an out‑of‑memory condition by allocating an unbounded amount of memory when the library performs a definite‑length read. This can lead to application crashes or forced restarts, disrupting service availability. The weakness is classified as CWE‑789, indicating unbounded or excessive memory allocation.

Affected Systems

Legion of the Bouncy Castle Inc. products including BC‑FJA, BC‑JAVA, and BC‑LTS‑JAVA are affected. Versions before 1.85 of BC‑JAVA, before 2.73.12 of BC‑LTS‑JAVA, 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) of BC‑FJA, and before bctls‑fips 1.0.24 are vulnerable.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability with significant impact on availability. EPSS data is not available, but the lack of a KEV listing suggests it has not yet been widely exploited. The likely attack vector is that an adversary could supply a large or maliciously crafted input that forces the library to allocate excessive memory during a read operation, potentially causing the application to crash or become unresponsive.

Generated by OpenCVE AI on August 3, 2026 at 08:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest Bouncy Castle for Java 1.85 or newer, BC‑LTS‑JAVA 2.73.12 or newer, BC‑FJA 1.0.2.7 or newer, 2.0.2 or newer, 2.1.3 or newer, and bctls‑fips 1.0.24 or newer
  • Validate the size of data streams or packets before invoking the library’s read functions to ensure they do not exceed the expected limits
  • If an upgrade cannot be performed immediately, implement application‑level limits on buffer sizes or switch to streaming APIs that avoid allocating large in‑memory buffers
  • After applying the fix, monitor application memory usage and restart services if necessary to clear any residual heap fragmentation

Generated by OpenCVE AI on August 3, 2026 at 08:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java

Mon, 03 Aug 2026 06:45:00 +0000


Mon, 03 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
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.
Title Possible OOM from unbounded up-front allocation on a definite-length read
Weaknesses CWE-789
References
Metrics cvssV4_0

{'score': 8.7, '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'}


Subscriptions

Legion Of The Bouncy Castle Inc. Bc-fja Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-04T09:24:50.033Z

Reserved: 2026-07-04T00:33:39.368Z

Link: CVE-2026-14682

cve-icon Vulnrichment

Updated: 2026-08-03T15:31:15.359Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T04:16:43.213

Modified: 2026-08-04T14:50:12.360

Link: CVE-2026-14682

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:52:12Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value