Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain target recipient's public key or certificate
-
DeliveryCraft CMS AuthEnvelopedData with downgraded 32-bit AES-GCM tag
-
ExploitDeliver crafted message to vulnerable application endpoint
-
ExecutionBouncy Castle decrypts without enforcing minimum tag length
-
PersistBrute-force AEAD tag collision with ~2^32 attempts
-
ImpactForge authenticated ciphertext accepted as genuine
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Integrity verification
|
| Exploitation Conditions | The application must use Bouncy Castle's CMS AuthEnvelopedData decryption path - specifically, one of the JCE recipient types (JceKeyTransRecipient, JceKeyAgreeRecipient, JceKEMRecipient, JcePasswordRecipient, or JceKEKRecipient) - and must process CMS messages received from an attacker-controlled or attacker-influenceable source. The attacker must be able to deliver a crafted CMS AuthEnvelopedData message to the application and must have access to the target recipient's public key material (certificate or public key) to construct a valid key-wrapping layer. Applications that only generate CMS messages (encrypt/sign only) or that process only CMS SignedData or EnvelopedData (non-authenticated) are not affected. Applications consuming CMS payloads exclusively from fully trusted internal sources face minimal real-world risk. The CVSS vector PR:N indicates no authenticated session to the target service is required; the attacker needs only the ability to submit a CMS payload. Applications that have already explicitly set the org.bouncycastle.gcm.allow_short_tags=false system property prior to this patch may have partial protection depending on library version. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N) signals high integrity impact with no authentication, no complexity barrier, and no user interaction required - a strong paper score. However, real-world exploitation requires an attacker to both craft a validly-structured CMS AuthEnvelopedData message (including correct key wrapping for the target recipient's key material) and deliver it to an application that processes such messages. This narrows the realistic attack surface to applications that actively receive and decrypt CMS AuthEnvelopedData payloads from untrusted or semi-trusted sources, such as secure messaging gateways, document exchange platforms, or PKCS#7-based workflows. There is no CISA KEV entry and no public POC, which tempers urgency relative to the raw score. EPSS data was not provided; exploitation is assessed as technically non-trivial but theoretically sound. A critical nuance: the upstream fix does NOT harden existing code by default - upgrading the library alone leaves applications vulnerable unless they also adopt the new setMinimumTagSize() API, meaning remediation requires both a library update and application-level code changes. |
| Exploit ScenarioDerived | An attacker targeting a Java-based secure document exchange platform that accepts inbound CMS AuthEnvelopedData payloads crafts a malicious message encrypted for the target recipient's public key but specifying a 32-bit AES-GCM ICV in the AlgorithmIdentifier. The vulnerable Bouncy Castle recipient decrypts the message without validating the tag length, accepting the weakened authentication guarantee. With a 32-bit tag, the attacker can attempt ~4 billion forgeries to produce an ICV collision and deliver content that the application treats as authentically encrypted and unmodified. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
CMS AuthEnvelopedData decryption in Bouncy Castle for Java fails to enforce a minimum AEAD authentication tag length, allowing a network attacker to supply a crafted CMS message carrying a truncated AES-GCM/CCM ICV (e.g., 32 bits instead of the standard 128 bits), effectively reducing the authentication space to the point where tag forgery becomes computationally feasible. Affected are bc-java before 1.85, bc-lts-java before 2.73.12, and all bc-fja (FIPS) 1.0.x/2.0.x/2.1.x series before their respective .12 patch releases. No public exploit or CISA KEV listing has been identified at time of analysis, but the CVSS 4.0 score of 8.7 with VI:H reflects the high integrity impact of bypassing authenticated encryption guarantees.
RemediationAI
Upgrade to Bouncy Castle for Java 1.85 or later, bc-lts-java 2.73.12 or later, or the appropriate FIPS patch release (bcpkix-fips 1.0.12, 2.0.12, or 2.1.12 depending on the series in use), as detailed in the vendor advisory at https://github.com/bcgit/bc-java/wiki/CVE-2026-12802. Critically, upgrading the library alone does NOT change default behavior - the new checkTagSize() enforcement is opt-in. After upgrading, all JCE recipient instances (JceKeyTransRecipient, JceKeyAgreeRecipient, JceKEMRecipient, JcePasswordRecipient, JceKEKRecipient) must have setMinimumTagSize(128) called (or the minimum tag size appropriate to your threat model) to refuse messages with downgraded ICV lengths before any decryption occurs; omitting this call leaves the vulnerability exploitable even on the patched library version. As a compensating control prior to patching, applications can set the existing JVM system property org.bouncycastle.gcm.allow_short_tags=false if supported in their library version, or implement application-layer validation to reject CMS messages whose AES-GCM/CCM AlgorithmIdentifier specifies a tag shorter than 128 bits before passing them to Bouncy Castle. The patch commit is available at https://github.com/bcgit/bc-java/commit/0fefa539e6ac5c66e1daee5a13b23d1d4769cc01.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Bouncy Castle is a foundational Java cryptography provider implementing JCA/JCE and FIPS-certified variants (BC-FJA). The affected code path is the CMS (Cryptographic Message Syntax, RFC 5652/5083) AuthEnvelopedData processing layer, specifically the recipient implementations (JceKeyTransRecipient, JceKeyAgreeRecipient, JceKEMRecipient, JcePasswordRecipient, JceKEKRecipient) in the pkix module. AES-GCM and AES-CCM are AEAD ciphers that produce an Integrity Check Value (ICV/tag) appended to the ciphertext; the tag length is encoded in the AlgorithmIdentifier parameters of the CMS content-encryption algorithm. CWE-354 (Improper Validation of Integrity Check Value) applies because AbstractRecipient.checkTagSize() did not exist prior to this fix - the library read and used the tag length from the incoming message without verifying it met any minimum threshold. This is a classic tag-length downgrade vector: an attacker specifying a 32-bit tag reduces the forgery search space from 2^128 to 2^32 (~4 billion), making brute-force or birthday attacks practical. CPE identifiers cpe:2.3:a:legion_of_the_bouncy_castle_inc.:bc-java, bc-lts-java, and bc-fja cover all three library lines.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber
Network-delivered CMS payload requires no authentication or user interaction; no confidentiality or availability impact, only integrity via AEAD tag downgrade.
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Primary rating from Vendor (bcorg).
CVSS VectorVendor: bcorg
DescriptionCVE.org
In Bouncy Castle for Java before 1.85, CMS AuthEnvelopedData fails to enforce tag-length on decryption. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).
Executive ViewAI
Bouncy Castle for Java, a cryptographic library deployed in countless enterprise applications, contains a vulnerability in authenticated encryption that allows attackers to forge authentication tags on encrypted messages. Organizations relying on affected versions to protect sensitive data in transit or at rest face a direct risk of undetected message tampering and loss of integrity guarantees. Immediate patching is required to prevent exploitation as the authentication bypass becomes computationally feasible with truncated authentication codes.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-52133
GHSA-833g-4xxm-r9cx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB