Impact
In Bouncy Castle libraries for Java, the CMS AuthenticatedData formatter fails to include the content in the Message Authentication Code when authentication attributes are present. This flaw allows an attacker to alter authenticated data without causing MAC verification failure, effectively bypassing integrity checks and enabling data tampering or forging of authenticated messages.
Affected Systems
Legion of the Bouncy Castle Inc. products are affected: Bouncy Castle for Java (BC-JAVA) prior to version 1.85, Bouncy Castle for Java LTS (BC-LTS-JAVA) prior to 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) prior to bcpkix-fips 1.0.12, 2.0.12, and 2.1.12.
Risk and Exploitability
The vulnerability carries a CVSS score of 8.7, indicating a high severity for integrity loss. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. Exploitation would require that an attacker can supply or modify CMS AuthenticatedData objects processed by the affected library, which could happen in applications that perform cryptographic signing or authentication. Because the MAC is not bound to the content, forged or tampered messages may be authenticated successfully, leading to potential loss of data integrity and reliance on compromised data.
OpenCVE Enrichment