Intel

AIKIDO-2026-231096

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

CVE-2026-12802Published Aug 5, 2026
August 5, 2026

87

CVE Score

High

Improper Validation of Integrity Check Value

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.

How do I fix this?

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

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.

Versions

0.0.1 - 1.84

Fixed in 1.85

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea