Intel

AIKIDO-2026-450423

bcpg-jdk18on is vulnerable to Observable Discrepancy

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

87

CVE Score

High

Observable Discrepancy

Are you affected? Scan for Free

TL;DR

Bouncy Castle's OpenPGP decryption keeps the legacy CFB quick-check bytes active on the symmetric-key and session-key paths. Because a quick-check mismatch is observable, the routine behaves as a decryption oracle that leaks information about the underlying key or plaintext. Repeated queries let confidential key material and message content be recovered. The fix removes the exploitable quick-check oracle on those paths.

How do I fix this?

Upgrade the org.bouncycastle:bcpg-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 your application decrypts OpenPGP messages that use the symmetric-key or session-key CFB (non-AEAD) path with externally supplied input.

Versions

0.0.1 - 1.84

Fixed in 1.85

Background info

bcpg-jdk18on is vulnerable to Observable Discrepancy 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