---
id: CVE-2026-59649
title: >-
  In Bouncy Castle for Java before 1.85, OpenPGP user-attribute subpacket length
  bounded only by JVM max memory
summary: >-
  In Bouncy Castle for Java before 1.85, OpenPGP user-attribute subpacket length
  bounded only by JVM max memory. This issue also affects Bouncy Castle for Java
  LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips
  1…
severity: high
cwe:
  - CWE-789
  - CWE-770
published: '2026-08-03'
updated: '2026-08-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59649'
references:
  - url: >-
      https://github.com/bcgit/bc-java/commit/a43c40dc12c3e1c6cbd03c83fe30aaec4029b824
    label: 91579145-5d7b-4cc5-b925-a0262ff19630
  - url: 'https://github.com/bcgit/bc-java/wiki/CVE-2026-59649'
    label: 91579145-5d7b-4cc5-b925-a0262ff19630
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59649.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-59649'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2510195'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-59649'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59649'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-08-03T01:21:08.015Z'
epss: 0.00493
epssPercentile: 0.397
vendor: Red Hat
product: Red Hat JBoss Enterprise Application Platform 7
affected:
  - openshift_developer_tools_and_services
  - build_of_apache_camel_4_for_quarkus 3
  - jboss_enterprise_application_platform 7
  - jboss_enterprise_application_platform 8
  - single_sign_on 7
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
---

## Overview

In Bouncy Castle for Java before 1.85, OpenPGP user-attribute subpacket length bounded only by JVM max memory. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) 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).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: OpenShift Developer Tools and Services, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat JBoss Enterprise Application Platform 7, Red Hat JBoss Enterprise Application Platform 8, Red Hat Single Sign-On 7 · no fix planned: Red Hat JBoss Enterprise Application Platform 7, OpenShift Developer Tools and Services, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat JBoss Enterprise Application Platform 8, … · updated 2026-09-08 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59649.json)
