Medium
Security advisory
In LibreCAD 2.2.0, a NULL pointer dereference in the HATCH handling of libdxfrw allows an attacker to crash the application using a crafted DXF document.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45343
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:23 UTC · Revision 1
Source evidence
In LibreCAD 2.2.0, a NULL pointer dereference in the HATCH handling of libdxfrw allows an attacker to crash the application using a crafted DXF document.
osv:CVE-2021-45343
Complete source record
{
"id": "31e1a602a55445d1c49d4e29a87be971381b92eea656c2e8b42c769c83c285db",
"url": "https://osv.dev/vulnerability/CVE-2021-45343",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-45343",
"summary": "In LibreCAD 2.2.0, a NULL pointer dereference in the HATCH handling of libdxfrw allows an attacker to crash the application using a crafted DXF document.",
"evidence": "osv:CVE-2021-45343",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-45343",
"aliases": [
"CVE-2021-45343"
],
"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/librecad/librecad",
"type": "GIT",
"events": [
{
"introduced": "0cd56672320f298c6d8f8fc9f006cfa85d6e6221"
},
{
"last_affected": "0cd56672320f298c6d8f8fc9f006cfa85d6e6221"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:librecad:librecad:2.2.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2.0"
},
{
"last_affected": "2.2.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.2.0",
"2.2.0-latest"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45343.json"
}
}
],
"modified": "2026-10-20T10:54:11.650680467Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FCC2FZ6HZOIK3775K4MTCOUHX6PLGPEL/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUMH3CWGVSMR2UIZEA35Q5UB7PDVVVYS/",
"https://security.gentoo.org/glsa/202305-26",
"https://www.debian.org/security/2022/dsa-5077",
"https://github.com/LibreCAD/LibreCAD/issues/1468"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
},
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "34"
},
{
"last_affected": "34"
},
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-45343",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384936,
"published_at": "2022-01-25T13:15:07.873+00:00"
}