CVE catalog

CVE-2026-71889

In Bouncy Castle for Java before 1.86, neither copy of PKIXCertPathReviewer - org.bouncycastle.pkix.jcajce.PKIXCertPathReviewer nor the legacy org.bouncycastle.x509.PKIXCertPathReviewer - applied X.50

[CVE catalog]

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.17% · Oct 25, 2026

In Bouncy Castle for Java before 1.86, neither copy of PKIXCertPathReviewer - org.bouncycastle.pkix.jcajce.PKIXCertPathReviewer nor the legacy org.bouncycastle.x509.PKIXCertPathReviewer - applied X.509 name constraints to the end-entity certificate. checkNameConstraints walked the path with a loop bound of index greater than zero, which is the bound the CA-only steps require, but index zero is the target certificate under the standard CertPath ordering, so the permitted and excluded subtree checks of RFC 5280 sec. 6.1.3 (b) and (c) never ran against the leaf's subject DN or its subjectAltName. A chain whose leaf violated a NameConstraints extension imposed by its own issuing CA therefore reported isValidCertPath() true with an empty error list, while CertPathValidator.getInstance("PKIX", "BC"), which shares no code with the reviewer, rejected the identical chain against the identical trust anchor. An application using the reviewer to make the trust decision rather than for diagnostics alongside a real validation accepted a certificate the constrained CA was never authorised to issue. Both copies now check every certificate in the path including the target, waive the sec. 4.2.1.10 self-issued exemption for the final certificate as sec. 6.1.3 requires, and skip the sec. 6.1.4 (g) constraint-accumulation step for the target. This issue also affects Bouncy Castle for Java LTS before 2.73.13, which carries only the org.bouncycastle.pkix.jcajce copy of the reviewer. It also affects Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianbouncycastlesid1.86.2-1fixed
Debianbouncycastleforky1.86-1fixed
Debianbouncycastletrixie1.80-3vulnerable
Debianbouncycastlebookworm1.72-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbouncycastlesourcesid1.86-1not yet assignedNot reportedNot reported
Debianbouncycastlesourceforky1.86-1not yet assignedNot reportedNot reported
Debianbouncycastlesourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianbouncycastlesourcebookworm(unfixed)not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libbcjmail-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcmail-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcpg-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcpkix-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcprov-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbctls-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

  • [libbcutil-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

    • 1.72-2 · all · bookworm

      Affected

      nvd · bouncycastle · debian · bookworm; nvd · bouncycastle · debian · 12

[Debian 13 (Trixie)]

  • [libbcjmail-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

  • [libbcmail-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

  • [libbcpg-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

  • [libbcpkix-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

  • [libbcprov-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

  • [libbctls-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

  • [libbcutil-java]Affected

    Source package: [bouncycastle]

    Details (2)
    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

    • 1.80-3 · all · trixie

      Affected

      nvd · bouncycastle · debian · 13

Observed:

References