| Name | CVE-2021-31804 | 
| Description | LeoCAD before 21.03 sometimes allows a use-after-free during the opening of a new document. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| leocad (PTS) | bullseye | 19.07.1-1 | vulnerable | 
|  | bookworm | 21.06-1 | vulnerable | 
|  | trixie | 23.03-3 | vulnerable | 
|  | forky, sid | 25.09-1 | vulnerable | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| leocad | source | (unstable) | (unfixed) | unimportant |  |  | 
Notes
https://github.com/leozide/leocad/issues/645
https://github.com/leozide/leocad/commit/233affe3fcdc851fa82cb058871bddd0046e1c87
Crash in CLI tool, no security impact