Medium
Security advisory
LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-31804
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:47 UTC · Revision 1
Source evidence
LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.
osv:CVE-2021-31804
Complete source record
{
"id": "b6e47608e03094ebee6d74d516d66842b845be7dbf518b6547e38bdd66318249",
"url": "https://osv.dev/vulnerability/CVE-2021-31804",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-31804",
"summary": "LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.",
"evidence": "osv:CVE-2021-31804",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-31804",
"aliases": [
"CVE-2021-31804"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/leozide/leocad",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6ef3fe5500a2e0b0d72cd5c3edf0a07574ebcf59"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:leocad:leocad:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "21.03"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v21.01",
"v19.07.1",
"v19.07",
"v18.02",
"v18.01",
"v17.07",
"v17.02",
"v0.83.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31804.json"
}
}
],
"modified": "2026-10-20T10:54:43.068255259Z",
"provider": "osv",
"references": [
"https://github.com/leozide/leocad/issues/645"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-31804",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385976,
"published_at": "2021-04-26T08:15:07.183+00:00"
}