Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcpg-jdk18on
  4. ›
  5. CVE-2026-59640

CVE-2026-59640: OpenPGP CFB quick-check oracle active on symmetric/session-key paths

August 3, 2026 (updated September 16, 2026)

Affects Bouncy Castle for Java before 1.85. PGPSymmetricKeyEncryptedData.getDataStream() still performs the CFB quick check on the repeated IV bytes and throws before the MDC is verified, on the symmetric and session-key paths. The public-key path already omits this check to avoid the Mister-Zuccherato oracle, and no property gates the remaining one. An attacker with adaptive chosen-ciphertext access can distinguish the early failure from later ones and recover two plaintext bytes per roughly 2^15 queries against SEIPDv1 messages.

References

  • github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e
  • github.com/bcgit/bc-java/wiki/CVE-2026-59640
  • nvd.nist.gov/vuln/detail/CVE-2026-59640

Code Behaviors & Features

Detect and mitigate CVE-2026-59640 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.85.0

Fixed versions

  • 1.85.0

Solution

Upgrade to version 1.85.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy

Source file

maven/org.bouncycastle/bcpg-jdk18on/CVE-2026-59640.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:27 +0000.