{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "21.03"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6ef3fe5500a2e0b0d72cd5c3edf0a07574ebcf59"
            }
          ],
          "repo": "https://github.com/leozide/leocad",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.",
  "id": "CVE-2021-31804",
  "modified": "2026-03-13T21:53:46.889095420Z",
  "published": "2021-04-26T08:15:07.183Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/leozide/leocad/issues/645"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}