CVE-2026-12802
Analyzed
Analyzed - Analysis Complete
CMS AuthEnvelopedData Tag-Length Validation Bypass in Bouncy Castle for Java
Vulnerability report for CVE-2026-12802, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-03
Last updated on: 2026-09-02
Assigner: bcorg
Description
Description
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).
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| bouncycastle | bc-java | to 1.85 (exc) |
| bouncycastle | bouncy_castle_for_java_lts | to 2.73.11 (inc) |
| bouncycastle | bcpkix-fips | to 1.0.12 (exc) |
| bouncycastle | bcpkix-fips | From 2.1.8 (inc) to 2.1.12 (exc) |
| bouncycastle | bcpkix-fips | From 2.0.7 (inc) to 2.0.12 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-354 | The product does not validate or incorrectly validates the integrity check values or "checksums" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission. |