{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:cryptopp:crypto\\+\\+:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "8.6.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "69bf6b53052b59ccb57ce068ce741988ae087317"
            }
          ],
          "repo": "https://github.com/weidai11/cryptopp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Crypto++ (aka Cryptopp) 8.6.0 and earlier contains a timing leakage in MakePublicKey(). There is a clear correlation between execution time and private key length, which may cause disclosure of the length information of the private key. This might allow attackers to conduct timing attacks. NOTE: this report is disputed by the vendor and multiple third parties. The execution-time differences are intentional. A user may make a choice of a longer key as a tradeoff between strength and performance. In making this choice, the amount of information leaked to an adversary is of infinitesimal value",
  "id": "CVE-2021-43398",
  "modified": "2026-07-08T05:39:15.427850502Z",
  "published": "2021-11-04T21:15:09.520Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://cryptopp.com"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/weidai11/cryptopp/issues/1080"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}