PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-13505 Legion of the Bouncy Castle Inc. CVE debrief

The CVE-2026-13505 vulnerability affects Bouncy Castle for Java FIPS (BC-FJA) before specific versions, allowing sensitive key material held by AES and DESede engines, SP 800-90A DRBGs, SymmetricSecretKey, and PBKD and scrypt parameter classes to be zeroised on garbage collection by overriding Object.finalize. This could lead to an OutOfMemoryError under load and defeat the purpose of zeroisation. The issue is resolved in later versions and on Java 9 and later, it no longer depends on the finalizer being scheduled. Affected users should prioritize patching due to the high CVSS score of 8.7 and HIGH severity. The vulnerability was published on 2026-08-08T02:17:16.520Z and has not been modified since then. Users of Bouncy Castle for Java FIPS (BC-FJA) versions before bc-fips 1.0.2.7, 2.0.2, and 2.1.3 should be aware of this vulnerability and take steps to mitigate it. This includes assessing usage, applying patches or upgrades, and monitoring for potential issues.

Vendor
Legion of the Bouncy Castle Inc.
Product
BC-FJA
CVSS
HIGH 8.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-08
Original CVE updated
2026-09-03
Advisory published
2026-08-08
Advisory updated
2026-09-03

Who should care

Users of Bouncy Castle for Java FIPS (BC-FJA) versions before bc-fips 1.0.2.7, 2.0.2, and 2.1.3 should be aware of this vulnerability and take steps to mitigate it. This includes assessing usage, applying patches or upgrades, and monitoring for potential issues.

Technical summary

The CVE-2026-13505 vulnerability affects Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series), and 2.1.3 (2.1.X series). Sensitive key material held by AES and DESede engines, SP 800-90A DRBGs, SymmetricSecretKey, and PBKD and scrypt parameter classes was zeroised on garbage collection by overriding Object.finalize. This could lead to an OutOfMemoryError under load and defeat the purpose of zeroisation. The issue is resolved in later versions and on Java 9 and later, it no longer depends on the finalizer being scheduled.

Defensive priority

This vulnerability has a high CVSS score of 8.7 and is classified as HIGH severity. Affected users should prioritize patching.

Recommended defensive actions

  • Inventory and assess usage of affected Bouncy Castle for Java FIPS (BC-FJA) versions
  • Apply patches or upgrades to affected BC-FJA versions
  • Monitor for potential OutOfMemoryErrors and key material exposure
  • Review and update cryptographic key management practices
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE-2026-13505 vulnerability affects Bouncy Castle for Java FIPS (BC-FJA) before specific versions. Sensitive key material was zeroised on garbage collection by overriding Object.finalize, but this could lead to an OutOfMemoryError under load and defeat the purpose of zeroisation. The issue is resolved in later versions and on Java 9 and later, it no longer depends on the finalizer being scheduled.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-13505 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-13505

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-13505 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-13505

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9013505

    91579145-5d7b-4cc5-b925-a0262ff19630

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.