In Bouncy Castle for Java before 1.85, PKCS#8 / PBES2 decryptors honour unbounded KDF cost from input. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "1.0.0"
},
{
"fixed": "1.0.12"
},
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.12"
},
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.12"
}
],
"source": "AFFECTED_FIELD"
}
],
"cna_assigner": "bcorg",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15055.json",
"cwe_ids": [
"CWE-770"
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-15055.json"
[
{
"deprecated": false,
"id": "CVE-2026-15055-3819128d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b",
"target": {
"file": "pkix/src/main/java/org/bouncycastle/openssl/jcajce/JceOpenSSLPKCS8DecryptorProviderBuilder.java"
},
"digest": {
"line_hashes": [
"197601844180946422528072632801533062252",
"327337482554323672876172753376894467444",
"12547090257679154677326366111840348967",
"147631208124227985361182938253039187504",
"216443469547609208047649654777064131371",
"32300303114783343026906264029296769906",
"36053410876470327639323494820696691394",
"264168430763772911908273459259711009186",
"149782471497434375155477884296336192643",
"337252166332478740207607050814704834059",
"255332732231301732805265389352388432113",
"106976234301705695119738664857589644739",
"42128709317077200414010668385289813866",
"156603104063162891903254229450296687906",
"114225595176719150098249388110617503619",
"334011374199697853356095028925987673673",
"63028674251518276049597088760895557383"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"digest": {
"function_hash": "40832651427481973368693959862750894414",
"length": 2761.0
},
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2026-15055-919bf1ee",
"target": {
"file": "pkix/src/main/java/org/bouncycastle/openssl/jcajce/JceOpenSSLPKCS8DecryptorProviderBuilder.java",
"function": "get"
},
"source": "https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"219299390001075404208844004346573718047",
"282853754084136645946883848581610034860",
"239715817206926481061699314304979199547"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2026-15055-9edfc8be",
"target": {
"file": "core/src/main/java/org/bouncycastle/util/Properties.java"
},
"source": "https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b"
},
{
"deprecated": false,
"digest": {
"function_hash": "121555780522040865491876521252916726998",
"length": 4363.0
},
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2026-15055-a67ea926",
"target": {
"file": "pkix/src/main/java/org/bouncycastle/pkcs/jcajce/JcePKCSPBEInputDecryptorProviderBuilder.java",
"function": "build"
},
"source": "https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b"
},
{
"deprecated": false,
"source": "https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"192981730141668343278551779454961248728",
"35413633402855910819866114011773843195",
"208074935400963074346874336446894174805",
"328460629618389657995038008164699398566",
"48835025494704511195890396663336243095",
"152210190886018093757148921593991344883",
"241791045919716977020869152376131157700",
"84339301292373980554904505492176221356",
"206897602095088861226113850269676765141",
"148559173711510422050179560208490964519"
],
"threshold": 0.9
},
"target": {
"file": "pkix/src/test/java/org/bouncycastle/pkcs/test/PKCS8Test.java"
},
"id": "CVE-2026-15055-af77d16b"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"244357542669405217994751854049371298929",
"97435167411895865116636204817049188460",
"214100055610811312956723178543103903277",
"308420372358995995282052303790741162212",
"105887273748238508654712434661183725699",
"284509705648325219246628863733154819104",
"53351887287278262758133760316364720339",
"128773382095816364307612035541650542111",
"97286009600840289390498508297084944623",
"333568093544582207644708294366318881922",
"207844011521459936867991882173734881359",
"314254659918283838452420091833453504982",
"257895882147625575984690157239585916430",
"34554479903513392699700939905889928169",
"45581357658656217730625369506761969953",
"21475595178402264984770103600034501452",
"48135216922584214685782800718004391986",
"130218871610895781221827028910841125880",
"160973520838278077053182206439066415741",
"193945555105656936453847297800470789796",
"183325986263730029783145769233746546977"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2026-15055-b1360dd1",
"target": {
"file": "pkix/src/main/java/org/bouncycastle/pkcs/jcajce/JcePKCSPBEInputDecryptorProviderBuilder.java"
},
"source": "https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b"
},
{
"deprecated": false,
"digest": {
"function_hash": "103019588276326492500981354270492834828",
"length": 3321.0
},
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2026-15055-b6a4f44f",
"target": {
"file": "pkix/src/main/java/org/bouncycastle/pkcs/jcajce/JcePKCSPBEInputDecryptorProviderBuilder.java",
"function": "get"
},
"source": "https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b"
},
{
"deprecated": false,
"source": "https://github.com/bcgit/bc-java/commit/7ab4ee67a0135950001b29b41a96d8a9a5d3b68b",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"function_hash": "33909541689866322411329461609305406313",
"length": 3679.0
},
"target": {
"file": "pkix/src/main/java/org/bouncycastle/openssl/jcajce/JceOpenSSLPKCS8DecryptorProviderBuilder.java",
"function": "build"
},
"id": "CVE-2026-15055-d04b3322"
}
]
"2026-08-12T15:33:42Z"