{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-71889",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-71889",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-10-03T08:31:01.178Z",
    "updatedAt": "2026-10-05T16:57:32.912Z",
    "importedAt": "2026-10-24T01:58:25.636Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "PKIXCertPathReviewer does not apply X.509 name constraints to the target certificate",
      "summary": "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).",
      "affected": [
        {
          "vendor": "Legion of the Bouncy Castle Inc.",
          "product": "BC-JAVA",
          "packageName": "bcpkix",
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java/",
          "platforms": [
            "all"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "1.86"
            }
          ]
        },
        {
          "vendor": "Legion of the Bouncy Castle Inc.",
          "product": "BC-JAVA",
          "packageName": "bcprov",
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java/",
          "platforms": [
            "all"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "1.86"
            }
          ]
        },
        {
          "vendor": "Legion of the Bouncy Castle Inc.",
          "product": "BC-LTS-JAVA",
          "packageName": "bcpkix-lts8on",
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java-lts/",
          "platforms": [
            "all"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2.73.0",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "2.73.13"
            }
          ]
        },
        {
          "vendor": "Legion of the Bouncy Castle Inc.",
          "product": "BC-FJA",
          "packageName": "bcpkix-fips",
          "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java-fips/",
          "platforms": [
            "all"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1.0.4",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "1.0.13"
            },
            {
              "version": "2.0.0",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "2.0.13"
            },
            {
              "version": "2.1.0",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "2.1.13"
            }
          ]
        }
      ]
    }
  }
}