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

CVE-2026-15055: PKCS#8 / PBES2 decryptors honour unbounded KDF cost from input

August 3, 2026 (updated September 16, 2026)

Affects Bouncy Castle for Java FIPS (BC-FJA) bcpkix-fips before 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series). PBES2 decryptor builders pass the scrypt cost parameters and PBKDF2 iteration count from an attacker-supplied EncryptedPrivateKeyInfo, PKCS#12 or CMS structure straight into key derivation, and the same pattern appears in the OpenSSL PKCS#8 builder, CMS password recipients and PKCS12PfxPdu MAC verification. Because derivation runs before any integrity check, a small input can force gigabytes of scrypt memory or up to 2^31 HMAC iterations, causing OOM or pinning a worker thread.

References

  • github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b
  • github.com/bcgit/bc-java/wiki/CVE-2026-15055
  • nvd.nist.gov/vuln/detail/CVE-2026-15055

Code Behaviors & Features

Detect and mitigate CVE-2026-15055 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 starting from 1.0.0 before 1.0.12, all versions starting from 2.0.7 before 2.0.12, all versions starting from 2.1.8 before 2.1.12

Fixed versions

  • 1.0.12
  • 2.0.12
  • 2.1.12

Solution

Upgrade to versions 1.0.12, 2.0.12, 2.1.12 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

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

Source file

maven/org.bouncycastle/bcpkix-fips/CVE-2026-15055.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:20:08 +0000.