Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-45342

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.

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

Source evidence

CVE-2021-45342

core-osv · Original source

Published 25 Jan 2022, 13:15 UTC

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.

osv:CVE-2021-45342
Complete source record
{
  "id": "05eef7160928a926a83f0ac1757956473395270379aa4a0d52edc1fcfd2a3a09",
  "url": "https://osv.dev/vulnerability/CVE-2021-45342",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-45342",
    "summary": "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.",
    "evidence": "osv:CVE-2021-45342",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-45342",
      "aliases": [
        "CVE-2021-45342"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/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"
                },
                {
                  "last_affected": "f21fde6e5ee4a63b68e72ad59a3fa4268dbe1314"
                },
                {
                  "introduced": "69669eaa9aba7ced3a2725b881bf06fd89840ff2"
                },
                {
                  "last_affected": "eba1413869c7d7cdd8cb1a1aeabf911ba152980e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:librecad:librecad:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:librecad:librecad:2.2.0:alpha:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0-alpha"
                      },
                      {
                        "last_affected": "2.2.0-alpha"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "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-alpha",
            "2.2.0-rc1",
            "2.2.0-rc2",
            "2.2.0-rc3",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.1.0-alpha",
            "2.0.6",
            "2.0.0",
            "2.0.0rc3",
            "1.0.0beta5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45342.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:07.739139507Z",
      "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/1464"
      ],
      "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-45342",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386934,
  "published_at": "2022-01-25T13:15:07.83+00:00"
}