CVE-2026-59649: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA
CVE-2026-59649 is a high severity vulnerability in Bouncy Castle for Java (BC-JAVA) involving memory allocation with an excessive size value. Specifically, the OpenPGP user-attribute subpacket length is only bounded by the JVM's maximum memory, potentially leading to excessive memory allocation. This affects versions before 1.85, as well as certain 2.x LTS and FIPS series versions prior to specified patch releases.
AI Analysis
Technical Summary
This vulnerability (CWE-789) in BC-JAVA affects OpenPGP user-attribute subpacket length validation, which is only limited by the maximum memory available to the JVM. This can cause excessive memory allocation, potentially leading to denial of service or resource exhaustion. The affected versions include all versions before 1.85, and versions in the 2.73.x LTS series before 2.73.12. It also affects BC-FJA FIPS versions prior to bcpg-fips 1.0.13 (1.0.X), 2.0.13 (2.0.X), and 2.1.13 (2.1.X). No official remediation level or patch links are provided in the source data.
Potential Impact
The vulnerability allows an attacker to cause excessive memory allocation by exploiting the unbounded length of the OpenPGP user-attribute subpacket. This can lead to denial of service conditions due to resource exhaustion. There is no indication of privilege escalation or code execution. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided in the source data, users should monitor for vendor updates and apply patches once available. Until then, consider limiting input sizes or applying JVM memory constraints as a temporary mitigation if feasible.
CVE-2026-59649: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA
Description
CVE-2026-59649 is a high severity vulnerability in Bouncy Castle for Java (BC-JAVA) involving memory allocation with an excessive size value. Specifically, the OpenPGP user-attribute subpacket length is only bounded by the JVM's maximum memory, potentially leading to excessive memory allocation. This affects versions before 1.85, as well as certain 2.x LTS and FIPS series versions prior to specified patch releases.
CVSS v4.0
Score 8.7high
Affected software
Legion of the Bouncy Castle Inc.
BC-JAVA
Legion of the Bouncy Castle Inc.
BC-LTS-JAVA
Legion of the Bouncy Castle Inc.
BC-FJA
Run 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 (CWE-789) in BC-JAVA affects OpenPGP user-attribute subpacket length validation, which is only limited by the maximum memory available to the JVM. This can cause excessive memory allocation, potentially leading to denial of service or resource exhaustion. The affected versions include all versions before 1.85, and versions in the 2.73.x LTS series before 2.73.12. It also affects BC-FJA FIPS versions prior to bcpg-fips 1.0.13 (1.0.X), 2.0.13 (2.0.X), and 2.1.13 (2.1.X). No official remediation level or patch links are provided in the source data.
Potential Impact
The vulnerability allows an attacker to cause excessive memory allocation by exploiting the unbounded length of the OpenPGP user-attribute subpacket. This can lead to denial of service conditions due to resource exhaustion. There is no indication of privilege escalation or code execution. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided in the source data, users should monitor for vendor updates and apply patches once available. Until then, consider limiting input sizes or applying JVM memory constraints as a temporary mitigation if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- bcorg
- Date Reserved
- 2026-07-06T07:09:01.524Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6fe8f3bf32cb7a34b623bc
Added to database: 08/03/2026, 01:03:47 UTC
Last enriched: 08/10/2026, 15:22:55 UTC
Last updated: 09/15/2026, 10:01:33 UTC
Views: 52
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.