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

CVE-2026-59647: CRMF/CMP password-MAC honours unbounded iteration count

August 3, 2026 (updated September 16, 2026)

Affects Bouncy Castle for Java before 1.85. PKMACBuilder’s default constructor leaves the iteration ceiling disabled, so when a CA or RA verifies a password-MAC protected CMP or CRMF message the iteration count is taken from the attacker’s PBMParameter and drives the digest loop unbounded. A count near 2^31 occupies a server thread for hours, and a small number of requests exhausts the thread pool. The same unbounded pattern applies to CMS PasswordRecipientInfo handling.

References

  • github.com/bcgit/bc-java/commit/c99d6427d6818d04165b07b45dfda96f2b384c53
  • github.com/bcgit/bc-java/wiki/CVE-2026-59647
  • nvd.nist.gov/vuln/detail/CVE-2026-59647

Code Behaviors & Features

Detect and mitigate CVE-2026-59647 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:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/org.bouncycastle/bcpkix-jdk18on/CVE-2026-59647.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:19:40 +0000.