{
  "id": "CVE-2026-59638",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59638",
  "published_at": "2026-08-03T00:57:31.904Z",
  "title": "JSSE hostname verifier CN-fallback enabled by default despite documented opt-in",
  "vendor": "Legion of the Bouncy Castle Inc.",
  "product": "BC-JAVA",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by default despite documented opt-in. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).",
  "cwe": "CWE-297",
  "cpes": [
    "cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:bouncycastle:bctls-fips:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.3,
    "nvd": 6.5
  },
  "repos": [
    {
      "repo": "xiaoqiMikko/bc-check",
      "url": "https://github.com/xiaoqiMikko/bc-check",
      "created_at": "2026-08-05T14:02:43Z",
      "first_seen_at": "2026-11-15T02:31:15.731Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2018-03-13T01:16:39Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Legion of the Bouncy Castle Inc.",
        "product": "BC-JAVA",
        "ranges": [
          "\u003e= 1.61, \u003c 1.85"
        ],
        "fixed_in": [
          "1.85"
        ]
      },
      {
        "vendor": "Legion of the Bouncy Castle Inc.",
        "product": "BC-LTS-JAVA",
        "ranges": [
          "\u003e= 2.73.0, \u003c 2.73.12"
        ],
        "fixed_in": [
          "2.73.12"
        ]
      },
      {
        "vendor": "Legion of the Bouncy Castle Inc.",
        "product": "BC-FJA",
        "ranges": [
          "\u003e= 1.0.7, \u003c 1.0.24",
          "\u003e= 2.0.0, \u003c 2.0.24",
          "\u003e= 2.1.0, \u003c 2.1.24"
        ],
        "fixed_in": [
          "1.0.24",
          "2.0.24",
          "2.1.24"
        ]
      }
    ],
    "upgrade": [
      "Upgrade BC-JAVA to 1.85 or later.",
      "Upgrade BC-LTS-JAVA to 2.73.12 or later.",
      "Upgrade BC-FJA to 1.0.24 or 2.0.24 or 2.1.24 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059638"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/bcgit/bc-java/commit/799bd15320a6310a447863638aa3df64acef829b"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/bcgit/bc-java/commit/5ac55351cd1a8a7184d41c96a7ee87df0770240a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
