bouncycastle — security advisory
In Bouncy Castle for Java before 1.85, BCFKS keystore load honours unbounded KDF cost from untrusted file. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and 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).
- Products
- bouncycastle
- Affected versions
- 1.49+dfsg-3ubuntu1, 1.51-4ubuntu1, 1.51-4ubuntu1+esm1, 1.57-1, 1.58-1, 1.59-1, 1.59-1ubuntu0.1~esm1, 1.61-1, 1.61-1ubuntu0.1~esm1, 1.68-2, 1.68-4, 1.68-5, 1.68-5ubuntu0.1~esm1, 1.72-2, 1.77-1, 1.77-1ubuntu0.1~esm1, 1.80-3
- Fixed versions
- Not specified
- CVEs
- CVE-2026-58063
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:48 UTC · Revision 1
Source evidence
In Bouncy Castle for Java before 1.85, BCFKS keystore load honours unbounded KDF cost from untrusted file. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and 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).
osv:UBUNTU-CVE-2026-58063
bouncycastle
Fixed versions: Not specified
bouncycastle
Fixed versions: Not specified
bouncycastle
Fixed versions: Not specified
bouncycastle
Fixed versions: Not specified
bouncycastle
Fixed versions: Not specified
bouncycastle
Fixed versions: Not specified
bouncycastle
Fixed versions: Not specified
Complete source record
{
"id": "103017fb3427bb535e096579f63184a0b9b34a855f5eb001bd454eae3dd4fc21",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-58063",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-58063",
"summary": "In Bouncy Castle for Java before 1.85, BCFKS keystore load honours unbounded KDF cost from untrusted file. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and 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).",
"evidence": "osv:UBUNTU-CVE-2026-58063",
"products": [
{
"name": {
"value": "bouncycastle",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.49+dfsg-3ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "1.51-4ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "1.51-4ubuntu1+esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "bouncycastle",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.57-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.58-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.59-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.59-1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "bouncycastle",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.61-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.61-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "bouncycastle",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.68-2",
"evidence": "/affected/3/versions"
},
{
"value": "1.68-4",
"evidence": "/affected/3/versions"
},
{
"value": "1.68-5",
"evidence": "/affected/3/versions"
},
{
"value": "1.68-5ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "bouncycastle",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.72-2",
"evidence": "/affected/4/versions"
},
{
"value": "1.77-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.77-1ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "bouncycastle",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.80-3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "bouncycastle",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.80-3",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-58063",
"aliases": [
"UBUNTU-CVE-2026-58063"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Amber"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bouncycastle",
"purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"1.49+dfsg-3ubuntu1",
"1.51-4ubuntu1",
"1.51-4ubuntu1+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58063.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbcmail-java",
"binary_version": "1.51-4ubuntu1+esm1"
},
{
"binary_name": "libbcpg-java",
"binary_version": "1.51-4ubuntu1+esm1"
},
{
"binary_name": "libbcpkix-java",
"binary_version": "1.51-4ubuntu1+esm1"
},
{
"binary_name": "libbcprov-java",
"binary_version": "1.51-4ubuntu1+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bouncycastle",
"purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"1.57-1",
"1.58-1",
"1.59-1",
"1.59-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58063.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbcmail-java",
"binary_version": "1.59-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcpg-java",
"binary_version": "1.59-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcpkix-java",
"binary_version": "1.59-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcprov-java",
"binary_version": "1.59-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bouncycastle",
"purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1.61-1",
"1.61-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58063.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbcmail-java",
"binary_version": "1.61-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcpg-java",
"binary_version": "1.61-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcpkix-java",
"binary_version": "1.61-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcprov-java",
"binary_version": "1.61-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bouncycastle",
"purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"1.68-2",
"1.68-4",
"1.68-5",
"1.68-5ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58063.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbcmail-java",
"binary_version": "1.68-5ubuntu0.1~esm1"
},
{
"binary_name": "libbcpg-java",
"binary_version": "1.68-5ubuntu0.1~esm1"
},
{
"binary_name": "libbcpkix-java",
"binary_version": "1.68-5ubuntu0.1~esm1"
},
{
"binary_name": "libbcprov-java",
"binary_version": "1.68-5ubuntu0.1~esm1"
},
{
"binary_name": "libbctls-java",
"binary_version": "1.68-5ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bouncycastle",
"purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"1.72-2",
"1.77-1",
"1.77-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58063.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbcjmail-java",
"binary_version": "1.77-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcmail-java",
"binary_version": "1.77-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcpg-java",
"binary_version": "1.77-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcpkix-java",
"binary_version": "1.77-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcprov-java",
"binary_version": "1.77-1ubuntu0.1~esm1"
},
{
"binary_name": "libbctls-java",
"binary_version": "1.77-1ubuntu0.1~esm1"
},
{
"binary_name": "libbcutil-java",
"binary_version": "1.77-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bouncycastle",
"purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.80-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58063.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbcjmail-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcmail-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcpg-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcpkix-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcprov-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbctls-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcutil-java",
"binary_version": "1.80-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bouncycastle",
"purl": "pkg:deb/ubuntu/bouncycastle?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.80-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58063.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbcjmail-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcmail-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcpg-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcpkix-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcprov-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbctls-java",
"binary_version": "1.80-3"
},
{
"binary_name": "libbcutil-java",
"binary_version": "1.80-3"
}
]
}
}
],
"modified": "2026-10-17T12:59:14.141794951Z",
"provider": "osv",
"upstream": [
"CVE-2026-58063"
],
"references": [
"https://ubuntu.com/security/CVE-2026-58063",
"https://www.cve.org/CVERecord?id=CVE-2026-58063",
"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9058063",
"https://github.com/bcgit/bc-java/commit/81737a56ef4489da1f849cf549df95e338ea6b06"
]
},
"related_cves": [
{
"value": "CVE-2026-58063",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359503,
"published_at": "2026-08-03T03:16:00+00:00"
}