CMS AuthEnvelopedData fails to enforce tag-length on decryption
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 8 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Legion of the Bouncy Castle Inc. | BC-JAVA | before 1.85 | 1.85 | Patch available | CNA |
| Legion of the Bouncy Castle Inc. | BC-LTS-JAVA | 2.73.0 to before 2.73.12 | 2.73.12 | Patch available | CNA |
| Legion of the Bouncy Castle Inc. | BC-FJA | 1.0.0 to before 1.0.12; 2.0.0 to before 2.0.12; 2.1.0 to before 2.1.12 | 1.0.12, 2.0.12, 2.1.12 | Patch available | CNA |
- BC-JAVA VendorLegion of the Bouncy Castle Inc. Affected before 1.85 Fixed in 1.85 Patch available CNA
- BC-LTS-JAVA VendorLegion of the Bouncy Castle Inc. Affected 2.73.0 to before 2.73.12 Fixed in 2.73.12 Patch available CNA
- BC-FJA VendorLegion of the Bouncy Castle Inc. Affected 1.0.0 to before 1.0.12; 2.0.0 to before 2.0.12; 2.1.0 to before 2.1.12 Fixed in 1.0.12, 2.0.12, 2.1.12 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* | before 1.85 | Vulnerable | Legion of the Bouncy Castle Inc. |
| cpe:2.3:a:bouncycastle:bcpkix-fips:*:*:*:*:*:*:*:* | before 1.0.12; 2.0.7 to before 2.0.12; 2.1.8 to before 2.1.12 | Vulnerable | Legion of the Bouncy Castle Inc. |
| cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:* | up to 2.73.11 | Vulnerable | Legion of the Bouncy Castle Inc. |
- cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* Versions before 1.85 Vulnerable ·Legion of the Bouncy Castle Inc.
- cpe:2.3:a:bouncycastle:bcpkix-fips:*:*:*:*:*:*:*:* Versions before 1.0.12; 2.0.7 to before 2.0.12; 2.1.8 to before 2.1.12 Vulnerable ·Legion of the Bouncy Castle Inc.
- cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:* Versions up to 2.73.11 Vulnerable ·Legion of the Bouncy Castle Inc.
Remediation
- Fix · CNA BC-JAVA (Legion of the Bouncy Castle Inc.) Fixed in 1.85
- Fix · CNA BC-LTS-JAVA (Legion of the Bouncy Castle Inc.) Fixed in 2.73.12
- Fix · CNA BC-FJA (Legion of the Bouncy Castle Inc.) Fixed in 1.0.12, 2.0.12, 2.1.12
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Legion of the Bouncy Castle BC-JAVA 1.85
32 records Highest priority Priority MEDIUM 23 MEDIUM, 9 LOW
Other records, highest priority first
- TI-2026-42545 MTI/A0 DH agreement exponentiates unvalidated peer valuePriority MEDIUM 48
- TI-2026-42533 JSSE hostname verifier CN-fallback enabled by default despite documented opt-inPriority MEDIUM 48
- TI-2026-41816 Stapled OCSP response accepted without binding to the checked certificatePriority MEDIUM 48
- Release ·
Legion of the Bouncy Castle BC-LTS-JAVA 2.73.12
28 records Highest priority Priority MEDIUM 20 MEDIUM, 8 LOW
Other records, highest priority first
- TI-2026-42545 MTI/A0 DH agreement exponentiates unvalidated peer valuePriority MEDIUM 48
- TI-2026-42533 JSSE hostname verifier CN-fallback enabled by default despite documented opt-inPriority MEDIUM 48
- TI-2026-41816 Stapled OCSP response accepted without binding to the checked certificatePriority MEDIUM 48
Show 1 more group
- Release ·
Legion of the Bouncy Castle BC-FJA 1.0.12, 2.0.12, 2.1.12
5 records Highest priority Priority MEDIUM 3 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-42537 CMS AuthenticatedData content not bound to MAC when authAttrs presentPriority MEDIUM 43
- TI-2026-42534 CMS verifySignatures returns true for SignedData with zero signersPriority MEDIUM 43
- TI-2026-42542 CRMF/CMP password-MAC honours unbounded iteration countPriority LOW 37
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat AMQ Broker 7 | Affected | No fix yet |
| Red Hat Ceph Storage 9 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 8 | Affected | No fix yet |
| Red Hat Single Sign-On 7 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet |
| Red Hat build of Apicurio Registry 3 | Affected | No fix yet |
Not affected: 5 products
- Red Hat AMQ Broker 7
- Red Hat Build of Keycloak
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat build of Apache Camel 4 for Quarkus 3
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2026-12802
- 2026-10-03 Alias added: GHSA-833g-4xxm-r9cx
- 2026-10-21 Affected versions changed · Red Hat
- 2026-10-23 Affected versions changed · Red Hat
- 2026-10-24 Affected versions changed · Red Hat
- 2026-10-26 Affected versions changed · Red Hat
- 2026-11-06 Affected versions changed · Red Hat
References
More Legion of the Bouncy Castle Inc. Bc-java vulnerabilities
- TI-2018-15967 Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to… CVSS 3.1CRITICAL 9.8
- TI-2017-09736 BouncyCastle JCE TLS Bleichenbacher/ROBOT CVSS 3.0HIGH 7.5
- TI-2026-42545 MTI/A0 DH agreement exponentiates unvalidated peer value CVSS 4.0CRITICAL 9.3
- TI-2026-42533 JSSE hostname verifier CN-fallback enabled by default despite documented opt-in CVSS 4.0CRITICAL 9.3
- TI-2026-41816 Stapled OCSP response accepted without binding to the checked certificate CVSS 4.0CRITICAL 9.3
- TI-2026-07701 Name Constraints bypass via trailing dot in rfc822Name and URI CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-12802 · CVE Program
- CVE-2026-12802 · NVD
- FIRST EPSS
- GHSA-833g-4xxm-r9cx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-12802 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences