{
  "id": "CVE-2026-12860",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-12860",
  "published_at": "2026-08-03T02:55:58.379Z",
  "title": "RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path",
  "vendor": "Legion of the Bouncy Castle Inc.",
  "product": "BC-JAVA",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/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, RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path. This issue also affects Bouncy Castle for Java LTS before 2.73.12.",
  "cwe": "CWE-347",
  "cpes": [
    "cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 5.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Legion of the Bouncy Castle Inc.",
        "product": "BC-JAVA",
        "ranges": [
          "\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"
        ]
      }
    ],
    "upgrade": [
      "Upgrade BC-JAVA to 1.85 or later.",
      "Upgrade BC-LTS-JAVA to 2.73.12 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
