{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "76c9a1fdf19d9e92e566a77376673e522aae9f80"
            }
          ],
          "repo": "https://github.com/relic-toolkit/relic",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:a:relic_project:relic:*:*:*:*:*:*:*:*"
        ],
        "extracted_events": [
          {
            "fixed": "2020-08-01"
          }
        ],
        "source": "CPE_RANGE",
        "vendor_product": "relic_project:relic"
      },
      {
        "extracted_events": [
          {
            "fixed": "2020-08-01"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "In RELIC before 2020-08-01, RSA PKCS#1 v1.5 signature forgery can occur because certain checks of the padding (and of the first two bytes) are inadequate. NOTE: this requires that a low public exponent (such as 3) is being used. The product, by default, does not generate RSA keys with such a low number.",
  "id": "CVE-2020-36315",
  "modified": "2026-07-08T05:38:33.310019270Z",
  "published": "2021-04-07T21:15:15.870Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/relic-toolkit/relic/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/relic-toolkit/relic/tree/32eb4c257fc80328061d66639b1cdb35dbed51a2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/relic-toolkit/relic/commit/76c9a1fdf19d9e92e566a77376673e522aae9f80"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/relic-toolkit/relic/issues/154"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}