Skip to main content

Bouncycastle: In Bouncy Castle for Java before 1.85, OpenPGP user-attribute subpacket length bounded only by JVM max memory. (CVE-2026-59649)

0
Medium
Published: 08/03/2026 (08/03/2026, 01:16:00 UTC)
Source: GCVE Database
Product: bouncycastle

Description

Bouncy Castle for Java versions before 1.85 have a vulnerability in the OpenPGP user-attribute subpacket length handling, where the length is only bounded by the JVM maximum memory. This issue also affects certain LTS and FIPS versions prior to specified patch releases. The vulnerability can lead to denial of service due to resource exhaustion. The CVSS score is 7.5, indicating a medium severity impact primarily affecting availability.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/xenial
Affected versions
=1.49+dfsg-3ubuntu1=1.51-4ubuntu1=1.51-4ubuntu1+esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/bionic
Affected versions
=1.57-1=1.58-1=1.59-1=1.59-1ubuntu0.1~esm1
Ubuntu:Pro:20.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/focal
Affected versions
=1.61-1=1.61-1ubuntu0.1~esm1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/jammy
Affected versions
=1.68-2=1.68-4=1.68-5=1.68-5ubuntu0.1~esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/noble
Affected versions
=1.72-2=1.77-1=1.77-1ubuntu0.1~esm1
Ubuntu:26.10more threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=stonking
Affected versions
=1.80-3
Ubuntu:26.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=resolute
Affected versions
=1.80-3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 00:30:09 UTC

Technical Analysis

In Bouncy Castle for Java versions prior to 1.85, the OpenPGP user-attribute subpacket length is not properly bounded except by the maximum memory available to the JVM. This can allow an attacker to craft a user-attribute subpacket with an excessively large length, potentially causing resource exhaustion and denial of service. The issue also affects Bouncy Castle for Java LTS versions before 2.73.12 and Bouncy Castle for Java FIPS versions before bcpg-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series), and 2.1.13 (2.1.X series). The vulnerability is tracked as CVE-2026-59649 and has a CVSS v3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Potential Impact

The vulnerability can cause denial of service by allowing an attacker to specify an excessively large user-attribute subpacket length in OpenPGP data, which is only bounded by the JVM's maximum memory. This can lead to resource exhaustion and application unavailability. There is no impact on confidentiality or integrity reported.

Mitigation Recommendations

The vulnerability affects versions before 1.85 and certain LTS and FIPS versions prior to their respective patch releases. Users should upgrade to Bouncy Castle for Java version 1.85 or later, Bouncy Castle for Java LTS version 2.73.12 or later, and Bouncy Castle for Java FIPS versions bcpg-fips 1.0.13, 2.0.13, or 2.1.13 and later. Patch status is not explicitly confirmed in the provided data, but the version numbers indicate fixed versions. Users should consult the vendor advisory for official patch availability and upgrade guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-59649
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f5d82cdf04f65666324a

Added to database: 10/17/2026, 22:25:28 UTC

Last enriched: 10/18/2026, 00:30:09 UTC

Last updated: 10/18/2026, 00:30:09 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses