In Bouncy Castle for Java before 1.85, PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS). (CVE-2026-13586)
A vulnerability in Bouncy Castle for Java prior to version 1.85 allows an attacker to exploit the PKCS#12 MAC and bag-decryption KDF iteration-count bound, potentially causing a denial of service (DoS). This issue also affects Bouncy Castle for Java LTS versions before 2.73.12 and various versions of Bouncy Castle for Java FIPS. The vulnerability is categorized under CWE-770, which relates to allocation of resources without limits or throttling. No known exploits are reported in the wild, and no patch information is currently available.
AI Analysis
Technical Summary
CVE-2026-13586 describes a denial of service vulnerability in Bouncy Castle for Java versions before 1.85, as well as in Bouncy Castle for Java LTS before 2.73.12 and Bouncy Castle for Java FIPS versions before bc-fips 1.0.2.7 (1.0.X), 2.0.2 (2.0.X), and 2.1.3 (2.1.X). The issue arises from insufficient bounds on the iteration count used in the PKCS#12 MAC and bag-decryption key derivation function (KDF), which can be exploited to cause excessive resource consumption leading to a denial of service. The vulnerability is classified under CWE-770, indicating improper limitation of resource consumption. There is no vendor advisory or patch information provided in the data.
Potential Impact
An attacker can exploit the unbounded iteration count in the PKCS#12 MAC and bag-decryption KDF to cause excessive resource consumption, resulting in a denial of service condition. This could disrupt services relying on the affected Bouncy Castle Java libraries. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor vendor communications for updates and consider mitigating exposure by limiting access to affected services or components where feasible.
In Bouncy Castle for Java before 1.85, PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS). (CVE-2026-13586)
Description
A vulnerability in Bouncy Castle for Java prior to version 1.85 allows an attacker to exploit the PKCS#12 MAC and bag-decryption KDF iteration-count bound, potentially causing a denial of service (DoS). This issue also affects Bouncy Castle for Java LTS versions before 2.73.12 and various versions of Bouncy Castle for Java FIPS. The vulnerability is categorized under CWE-770, which relates to allocation of resources without limits or throttling. No known exploits are reported in the wild, and no patch information is currently available.
CVSS v4.0
Affected software
pkg:maven/org.bouncycastle/bcprov-jdk15onpkg:maven/org.bouncycastle/bcprov-jdk15on-ltspkg:maven/org.bouncycastle/bcprov-fipsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-13586 describes a denial of service vulnerability in Bouncy Castle for Java versions before 1.85, as well as in Bouncy Castle for Java LTS before 2.73.12 and Bouncy Castle for Java FIPS versions before bc-fips 1.0.2.7 (1.0.X), 2.0.2 (2.0.X), and 2.1.3 (2.1.X). The issue arises from insufficient bounds on the iteration count used in the PKCS#12 MAC and bag-decryption key derivation function (KDF), which can be exploited to cause excessive resource consumption leading to a denial of service. The vulnerability is classified under CWE-770, indicating improper limitation of resource consumption. There is no vendor advisory or patch information provided in the data.
Potential Impact
An attacker can exploit the unbounded iteration count in the PKCS#12 MAC and bag-decryption KDF to cause excessive resource consumption, resulting in a denial of service condition. This could disrupt services relying on the affected Bouncy Castle Java libraries. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor vendor communications for updates and consider mitigating exposure by limiting access to affected services or components where feasible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pxw2-f34f-xjvr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-13586"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a71067ebf32cb7a34396cd4
Added to database: 08/03/2026, 21:22:06 UTC
Last enriched: 08/03/2026, 21:39:57 UTC
Last updated: 08/04/2026, 03:17:46 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.