Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-45341

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-45341
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:23 UTC · Revision 1

Source evidence

CVE-2021-45341

core-osv · Original source

Published 25 Jan 2022, 12:15 UTC

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.

osv:CVE-2021-45341
Complete source record
{
  "id": "3b1594a5f682e85ab16ba7a1e8dfc714c0a4a77c5d60de4dc85a52a2b9e87088",
  "url": "https://osv.dev/vulnerability/CVE-2021-45341",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-45341",
    "summary": "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.",
    "evidence": "osv:CVE-2021-45341",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-45341",
      "aliases": [
        "CVE-2021-45341"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/librecad/librecad",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0cd56672320f298c6d8f8fc9f006cfa85d6e6221"
                },
                {
                  "introduced": "58deefa34cb07a3b7b4ed97cd1ac70f9b7fc56d0"
                },
                {
                  "last_affected": "eba1413869c7d7cdd8cb1a1aeabf911ba152980e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:librecad:librecad:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:librecad:librecad:2.2.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0-rc1"
                      },
                      {
                        "last_affected": "2.2.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:librecad:librecad:2.2.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0-rc2"
                      },
                      {
                        "last_affected": "2.2.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:librecad:librecad:2.2.0:rc3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0-rc3"
                      },
                      {
                        "last_affected": "2.2.0-rc3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.0-rc1",
            "2.2.0-rc2",
            "2.2.0-rc3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45341.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:11.872221716Z",
      "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/1462"
      ],
      "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-45341",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384939,
  "published_at": "2022-01-25T12:15:07.693+00:00"
}