Skip to content
OpenAdvisories

Description

In Bouncy Castle for Java before 1.85, Name Constraints bypass via trailing dot in rfc822Name and URI. 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).

Affected products

VendorProductAffectedFixed
Legion of the Bouncy Castle BC-JAVA < 1.85 1.85
Legion of the Bouncy Castle BC-LTS-JAVA 2.73.0 – < 2.73.12 2.73.12
Legion of the Bouncy Castle BC-FJA 1.0.0 – < 1.0.2.7, 2.0.0 – < 2.0.2, 2.1.0 – < 2.1.3 1.0.2.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bouncycastle 1.86-1 —
Debian 13 bouncycastle No fix yet —
Debian 12 bouncycastle No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 bouncycastle No fix yet —
Ubuntu 26.04 LTS bouncycastle No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS bouncycastle No fix yet —
Ubuntu Pro 22.04 LTS bouncycastle No fix yet —
Ubuntu Pro 20.04 LTS bouncycastle No fix yet —
Ubuntu Pro 18.04 LTS bouncycastle No fix yet —
Ubuntu Pro 16.04 LTS bouncycastle No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES 15 SP6 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES 15 SP5 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES 15 SP4 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 bouncycastle 1.85-160000.1.1 SUSE-SU-2026:23150-1, SUSE-SU-2026:23127-1
SLES for SAP 15 SP6 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES for SAP 15 SP5 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES for SAP 15 SP4 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLES 16.0 bouncycastle 1.85-160000.1.1 SUSE-SU-2026:23150-1, SUSE-SU-2026:23127-1
SLE HPC 15 SP5 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
SLE HPC 15 SP4 bouncycastle 1.85-150200.3.38.1 SUSE-SU-2026:3559-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bouncycastle 1.85-1.1 openSUSE-SU-2026:11445-1
openSUSE Leap 16.0 bouncycastle 1.85-160000.1.1 openSUSE-SU-2026:21538-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bouncycastle +6 1.70-4.amzn2023.0.8 ALAS2023-2026-2153

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-pulsar-4.2 4.2.4-r5 —
Wolfi rolling druid 37.0.0-r57 —
Wolfi rolling keycloak-26.6 +1 26.6.7-r1 —
Wolfi rolling kserve-modelmesh 0.12.0-r40 —
Wolfi rolling logstash-9.3 +3 No fix yet —
Wolfi rolling logstash-9.4 +1 9.4.8-r0 —
Wolfi rolling opensearch-2 2.19.6-r11 —
Wolfi rolling ruby3.2-bouncy-castle-java 1.5.0146.1-r9 —
Wolfi rolling ruby3.3-bouncy-castle-java 1.5.0146.1-r7 —
Wolfi rolling ruby3.4-bouncy-castle-java 1.5.0146.1-r8 —
Wolfi rolling ruby4.0-bouncy-castle-java 1.5.0146.1-r5 —
Wolfi rolling spark-4.0-scala-2.13 4.0.4-r5 —
Wolfi rolling zipkin +1 3.6.1-r28 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.bouncycastle:bc-fips < 1.0.2.7 1.0.2.7 GHSA-9pwp-9qqc-pr26
Maven org.bouncycastle:bc-fips >= 2.0.0, < 2.0.2 2.0.2 GHSA-9pwp-9qqc-pr26
Maven org.bouncycastle:bc-fips >= 2.1.0, < 2.1.3 2.1.3 GHSA-9pwp-9qqc-pr26
Maven org.bouncycastle:bcprov-jdk15to18 < 1.85 1.85 GHSA-9pwp-9qqc-pr26
Maven org.bouncycastle:bcprov-jdk18on < 1.85 1.85 GHSA-9pwp-9qqc-pr26
Maven org.bouncycastle:bcprov-lts8on < 2.73.12 2.73.12 GHSA-9pwp-9qqc-pr26

Advisories 14

References