Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-20912

An issue was discovered in GNU LibreDWG through 0.9.3. Crafted input will lead to a stack overflow in bits.c, possibly related to bit_read_TF.

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

Source evidence

CVE-2019-20912

core-osv · Original source

Published 16 Jul 2020, 18:15 UTC

An issue was discovered in GNU LibreDWG through 0.9.3. Crafted input will lead to a stack overflow in bits.c, possibly related to bit_read_TF.

osv:CVE-2019-20912
Complete source record
{
  "id": "91a988064bd180123379697cb700d3be4a4fc51fa23c6373a2fd3d653584f1b7",
  "url": "https://osv.dev/vulnerability/CVE-2019-20912",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-20912",
    "summary": "An issue was discovered in GNU LibreDWG through 0.9.3. Crafted input will lead to a stack overflow in bits.c, possibly related to bit_read_TF.",
    "evidence": "osv:CVE-2019-20912",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-20912",
      "aliases": [
        "CVE-2019-20912"
      ],
      "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/libredwg/libredwg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "ece161fd5e396fdb4094bdba027c5ea8476f73af"
                },
                {
                  "fixed": "b84c2cab55948a5ee70860779b2640913e3ee1ed"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.9.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b84c2cab55948a5ee70860779b2640913e3ee1ed"
                      }
                    ],
                    "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-20912.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-20912-6862cdb7",
                "digest": {
                  "length": 523,
                  "function_hash": "96338434088265487358644619236390278650"
                },
                "source": "https://github.com/libredwg/libredwg/commit/b84c2cab55948a5ee70860779b2640913e3ee1ed",
                "target": {
                  "file": "src/bits.c",
                  "function": "bit_write_UMC"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-20912-6e88b68b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "113052727542273460921737678445611708993",
                    "152939320705181754443722810749730501374",
                    "288378964425942374801464293818649235698",
                    "192192677306202081307193547809927986179"
                  ]
                },
                "source": "https://github.com/libredwg/libredwg/commit/b84c2cab55948a5ee70860779b2640913e3ee1ed",
                "target": {
                  "file": "src/bits.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:43:01Z"
          }
        }
      ],
      "modified": "2026-10-20T13:43:01.397856306Z",
      "provider": "osv",
      "references": [
        "https://github.com/LibreDWG/libredwg/commit/b84c2cab55948a5ee70860779b2640913e3ee1ed",
        "https://github.com/LibreDWG/libredwg/issues/178"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-20912",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387985,
  "published_at": "2020-07-16T18:15:13.407+00:00"
}