Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-20914

An issue was discovered in GNU LibreDWG through 0.9.3. There is a NULL pointer dereference in the function dwg_encode_common_entity_handle_data in common_entity_handle_data.spec.

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

Source evidence

CVE-2019-20914

core-osv · Original source

Published 16 Jul 2020, 18:15 UTC

An issue was discovered in GNU LibreDWG through 0.9.3. There is a NULL pointer dereference in the function dwg_encode_common_entity_handle_data in common_entity_handle_data.spec.

osv:CVE-2019-20914
Complete source record
{
  "id": "6ab72dec1917627a19b78debb72c8edf38f49a8edc04211aa1319b50814109b0",
  "url": "https://osv.dev/vulnerability/CVE-2019-20914",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-20914",
    "summary": "An issue was discovered in GNU LibreDWG through 0.9.3. There is a NULL pointer dereference in the function dwg_encode_common_entity_handle_data in common_entity_handle_data.spec.",
    "evidence": "osv:CVE-2019-20914",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2019-20914",
      "aliases": [
        "CVE-2019-20914"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libredwg/libredwg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "ece161fd5e396fdb4094bdba027c5ea8476f73af"
                },
                {
                  "fixed": "3b837bb72d6b9ab4d563faa211f90efc257e3c96"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.9.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3b837bb72d6b9ab4d563faa211f90efc257e3c96"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.9.3",
            "0.9.2",
            "0.9.1",
            "0.9",
            "0.8",
            "0.7",
            "0.6.2",
            "0.6.1",
            "0.6",
            "0.5",
            "0.4.938",
            "0.4.924",
            "0.4.900",
            "0.4-dev",
            "0.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20914.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-20914-7a33efd5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "329011182343971931175772634963691244782",
                    "203683506821898681955471721114965828673",
                    "14751010109900732949469914265842609795",
                    "309491728688545258711996058050702498464"
                  ]
                },
                "source": "https://github.com/libredwg/libredwg/commit/3b837bb72d6b9ab4d563faa211f90efc257e3c96",
                "target": {
                  "file": "src/encode.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-20914-859cf1cf",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "80152542567558847716377521316695982517",
                    "288819481939200924088477269983121140019",
                    "300843498636443174961961206391604084461",
                    "297278089582080075443100519337723316546"
                  ]
                },
                "source": "https://github.com/libredwg/libredwg/commit/3b837bb72d6b9ab4d563faa211f90efc257e3c96",
                "target": {
                  "file": "programs/dwgrewrite.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-20914-9dd380db",
                "digest": {
                  "length": 560,
                  "function_hash": "31679730145492592359646180774799545980"
                },
                "source": "https://github.com/libredwg/libredwg/commit/3b837bb72d6b9ab4d563faa211f90efc257e3c96",
                "target": {
                  "file": "src/encode.c",
                  "function": "dwg_encode_header_variables"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-20914-e7c25456",
                "digest": {
                  "length": 4360,
                  "function_hash": "236799854757892857900754633525611796053"
                },
                "source": "https://github.com/libredwg/libredwg/commit/3b837bb72d6b9ab4d563faa211f90efc257e3c96",
                "target": {
                  "file": "programs/dwgrewrite.c",
                  "function": "main"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:43:03Z"
          }
        }
      ],
      "modified": "2026-10-20T13:43:03.352046585Z",
      "provider": "osv",
      "references": [
        "https://github.com/LibreDWG/libredwg/commit/3b837bb72d6b9ab4d563faa211f90efc257e3c96",
        "https://github.com/LibreDWG/libredwg/issues/178"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-20914",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387990,
  "published_at": "2020-07-16T18:15:13.597+00:00"
}