Intel

AIKIDO-2026-231096

bcpkix-jdk18on is vulnerable to Improper Validation of Integrity Check Value

Improper Validation of Integrity Check ValueCVE-2026-12802 Published 2 days ago

87

High Risk

This Affects:

JAVAbcpkix-jdk18on
0.0.1 - 1.84.0
Fixed in 1.85.0
Are you affected? Scan for Free

TL;DR

The CMS API in the org.bouncycastle.cms package does not enforce the authentication tag length when decrypting AuthEnvelopedData content. Authenticated-encrypted content can be processed with a truncated or manipulated AEAD tag, so the integrity check that should reject tampered data can pass. Before the fix, this allows undetected modification or forgery of authenticated CMS content. The fix validates the expected tag length and rejects mismatches.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you decrypt CMS AuthEnvelopedData messages from untrusted or externally influenced sources.

Background info

bcpkix-jdk18on is vulnerable to Improper Validation of Integrity Check Value in versions 0.0.1 - 1.84.0.

How to fix this

Upgrade the org.bouncycastle:bcpkix-jdk18on library to the patch version.