Every CVE Search/ Get API key

CVE-2021-45341

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and...

8.8 HighFix available

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

6.62%Up 6.2 points since Jan 25, 2022
90%50%10%1%

What each source reports

NVD Score used 8.8

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.

Record
CVE-2021-45341
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
9.3 HighAV:N/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-120
Updated
2026-11-02
CVE List No score

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.

Record
CVE-2021-45341
Updated
2026-11-02
EUVDEUVD-2021-32114 No score

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.

Record
EUVD-2021-32114
Updated
2026-11-03
GitHub AdvisoriesGHSA-9882-476q-39vf 8.8

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and...

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.

Record
GHSA-9882-476q-39vf
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-120
Updated
2026-11-02
OSV 8.8

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.

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

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.

Record
DEBIAN-CVE-2021-45341
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2021-45341 8.8

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.

Record
UBUNTU-CVE-2021-45341
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2022-0152 No score

Updated librecad packages fix security vulnerability

A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document. (CVE-2021-45341)

A buffer overflow vulnerability in CDataList of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document. (CVE-2021-45342)

Record
MGASA-2022-0152
Updated
2026-11-02
OSVopenSUSE-SU-2022:0143-1 No score

Security update for librecad

This update for librecad fixes the following issues:

  • CVE-2021-45341: Fixed a buffer overflow vulnerability in LibreCAD that allowed an attacker to achieve remote code execution via a crafted JWW document [boo#1195105]
  • CVE-2021-45342: Fixed a buffer overflow vulnerability in jwwlib in LibreCAD allows an attacker to achieve remote code execution via a crafted JWW document [boo#1195122]
Record
openSUSE-SU-2022:0143-1
Updated
2026-11-02
OSVopenSUSE-SU-2022:10002-1 No score

Security update for librecad

This update for librecad fixes the following issues:

  • CVE-2021-45341: Fixed a buffer overflow vulnerability in LibreCAD allows an attacker to achieve remote code execution via a crafted JWW document [boo#1195105]

  • CVE-2021-45342: Fixed a buffer overflow vulnerability in jwwlib in LibreCAD allows an attacker to achieve remote code execution via a crafted JWW document [boo#1195122]

  • Strip excess blank fields from librecad.desktop:MimeType [boo#1197664]

Update to 2.2.0-rc3

  • major release
  • DWG imports are more reliable now
  • and a lot more of bugfixes and improvements
Record
openSUSE-SU-2022:10002-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12082-1 No score

librecad-2.2.0~rc3-7.1 on GA media

These are all security issues fixed in the librecad-2.2.0~rc3-7.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12082-1
Updated
2026-11-02
OSVUSN-5957-1 No score

librecad vulnerabilities

Cody Sixteen discovered that LibreCAD incorrectly handled memory when parsing DXF files. An attacker could use this issue to cause LibreCAD to crash, leading to a denial of service. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2018-19105)

Lilith of Cisco Talos discovered that LibreCAD incorrectly handled memory when parsing DWG files. An attacker could use this issue to cause LibreCAD to crash, leading to a denial of service, or possibly execute arbitrary code. (CVE-2021-21898, CVE-2021-21899)

Lilith of Cisco Talos discovered that LibreCAD incorrectly handled memory when parsing DRW files. An attacker could use this issue to cause LibreCAD to crash, leading to a denial of service, or possibly execute arbitrary code. (CVE-2021-21900)

Albin Eldstål-Ahrens discovered that LibreCAD incorrectly handled memory when parsing JWW files. An attacker could use this issue to cause LibreCAD to crash, leading to a denial of service, or possibly execute arbitrary code. (CVE-2021-45341, CVE-2021-45342)

Albin Eldstål-Ahrens discovered that LibreCAD incorrectly handled memory when parsing DXF files. An attacker could use this issue to cause LibreCAD to crash, leading to a denial of service. (CVE-2021-45343)

Record
USN-5957-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
librecad
Debian:12
before 2.1.3-3
2.1.3-3
librecad
Debian:13
before 2.1.3-3
2.1.3-3
librecad
Debian:14
before 2.1.3-3
2.1.3-3
librecad
Debian:9
From an advisory covering 3 CVEs
before 2.1.2-1+deb9u3, plus listed versions
2.1.2-12.1.2-1+deb9u12.1.2-1+deb9u2
2.1.2-1+deb9u3
librecad
Debian:10
From an advisory covering 6 CVEs
before 2.1.3-1.2+deb10u1, plus listed versions
2.1.3-1.2
2.1.3-1.2+deb10u1
librecad
Debian:11
From an advisory covering 6 CVEs
before 2.1.3-1.3+deb11u1, plus listed versions
2.1.3-1.3
2.1.3-1.3+deb11u1
librecad
Mageia:8
From an advisory covering 2 CVEs
before 2.2.0-0.rc3.1.mga8
2.2.0-0.rc3.1.mga8
librecad
Ubuntu:Pro:16.04:LTS
before 2.0.9-2ubuntu0.1~esm1, plus listed versions
2.0.4-1build12.0.8-12.0.9-2
2.0.9-2ubuntu0.1~esm1
librecad
Ubuntu:18.04:LTS
before 2.1.2-1ubuntu0.1, plus listed versions
2.1.2-1
2.1.2-1ubuntu0.1
librecad
Ubuntu:Pro:18.04:LTS
before 2.1.2-1ubuntu0.1~esm1, plus listed versions
2.1.2-1
2.1.2-1ubuntu0.1~esm1
Show 12 moreShow less
Affected packages
PackageAffectedFixed
librecad
Ubuntu:20.04:LTS
before 2.1.3-1.2+deb10u1build0.20.04.1, plus listed versions
2.1.3-1.22.1.3-1.2build1
2.1.3-1.2+deb10u1build0.20.04.1
librecad
Ubuntu:22.04:LTS
before 2.1.3-3, plus listed versions
2.1.3-1.3
2.1.3-3
librecad
Ubuntu:Pro:16.04:LTS
From an advisory covering 7 CVEs
before 2.0.9-2ubuntu0.1~esm1, plus listed versions
2.0.4-1build12.0.8-12.0.9-2
2.0.9-2ubuntu0.1~esm1
librecad
Ubuntu:Pro:18.04:LTS
From an advisory covering 7 CVEs
before 2.1.2-1ubuntu0.1~esm1, plus listed versions
2.1.2-1
2.1.2-1ubuntu0.1~esm1
librecad
Ubuntu:20.04:LTS
From an advisory covering 7 CVEs
before 2.1.3-1.2+deb10u1build0.20.04.1, plus listed versions
2.1.3-1.22.1.3-1.2build1
2.1.3-1.2+deb10u1build0.20.04.1
librecad
SUSE:Package Hub 15 SP3
From an advisory covering 2 CVEs
before 2.2.0~rc3-bp153.2.9.1
2.2.0~rc3-bp153.2.9.1
librecad
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 2.2.0~rc3-bp153.2.9.1
2.2.0~rc3-bp153.2.9.1
libdxfrw
SUSE:Package Hub 15 SP4
From an advisory covering 2 CVEs
before 1.0.1+git.20220109-bp154.2.3.1
1.0.1+git.20220109-bp154.2.3.1
librecad
SUSE:Package Hub 15 SP4
From an advisory covering 2 CVEs
before 2.2.0~rc3-bp154.3.3.1
2.2.0~rc3-bp154.3.3.1
libdxfrw
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 1.0.1+git.20220109-bp154.2.3.1
1.0.1+git.20220109-bp154.2.3.1
librecad
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 2.2.0~rc3-bp154.3.3.1
2.2.0~rc3-bp154.3.3.1
librecad
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 2.2.0~rc3-7.1
2.2.0~rc3-7.1

History

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

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

In short

CVE-2021-45341 is a high vulnerability (CVSS 8.8) in Librecad, published January 25, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.62%, the 93rd percentile. Fixed in librecad 2.1.3-3.

References

Show 25 moreShow less
MoveEnter Open