Every CVE Search/ Get API key

CVE-2021-31804

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

5.5 Medium

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.77%Up 0.4 points since Apr 27, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

Record
CVE-2021-31804
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

Record
CVE-2021-31804
Updated
2026-11-02
EUVDEUVD-2021-18683 No score

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

Record
EUVD-2021-18683
Updated
2026-11-03
GitHub AdvisoriesGHSA-636v-4www-6mj9 No score

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

Record
GHSA-636v-4www-6mj9
Weakness
CWE-416
Updated
2026-11-02
OSV 5.5

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

Record
CVE-2021-31804
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-31804 5.5

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

Record
DEBIAN-CVE-2021-31804
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-31804 5.5

LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document.

Record
UBUNTU-CVE-2021-31804
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
leocad
Debian:12
All versions, plus listed versions
21.06-123.03-123.03-223.03-325.09-126.09-1
None known
leocad
Debian:13
All versions, plus listed versions
23.03-325.09-126.09-1
None known
leocad
Debian:14
All versions, plus listed versions
23.03-325.09-126.09-1
None known
leocad
Ubuntu:16.04:LTS
All versions, plus listed versions
0.81+svn1775-10.81+svn1775-1ubuntu1
None known
leocad
Ubuntu:18.04:LTS
All versions, plus listed versions
17.07-117.07-218.01-1
None known
leocad
Ubuntu:20.04:LTS
All versions, plus listed versions
19.07.1-119.07.1-1build1
None known
leocad
Ubuntu:22.04:LTS
All versions, plus listed versions
19.07.1-1build121.06-1
None known
leocad
Ubuntu:24.04:LTS
All versions, plus listed versions
21.06-121.06-1build121.06-1build2
None known
leocad
Ubuntu:25.10
All versions, plus listed versions
21.06-1build223.03-3
None known
leocad
Ubuntu:26.10
All versions, plus listed versions
25.09-1
None known
leocad
Ubuntu:26.04:LTS
All versions, plus listed versions
23.03-325.09-1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-31804 is a medium vulnerability (CVSS 5.5) in Leocad, published April 26, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.77%, the 55th percentile. No source names a fixed version.

References

MoveEnter Open