{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.73.0"
              },
              {
                "fixed": "2.73.12"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "468b5082f3f0971e80bf9edb7029c17b39b9ba0c"
            },
            {
              "fixed": "f101b232c5d3e07ecdd504210a57e43831d6cd65"
            }
          ],
          "repo": "https://github.com/bcgit/bc-lts-java",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "bcorg",
    "cwe_ids": [
      "CWE-347"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12860.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "1.85"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-12860",
  "modified": "2026-08-05T03:30:38.794807727Z",
  "published": "2026-08-03T02:55:58.379Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.bouncycastle.org/download/bouncy-castle-java-lts/"
    },
    {
      "type": "WEB",
      "url": "https://www.bouncycastle.org/download/bouncy-castle-java/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12860.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-12860"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/bcgit/bc-java"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/bcgit/bc-lts-java"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path"
}