CVE-2019-20915

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-20915
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20915.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-20915
Published
2020-07-16T18:15:13.860Z
Modified
2025-11-14T09:38:22.325590Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in GNU LibreDWG through 0.9.3. Crafted input will lead to a heap-based buffer over-read in bitwriteTF in bits.c.

References

Affected packages

Git / github.com/libredwg/libredwg

Affected ranges

Type
GIT
Repo
https://github.com/libredwg/libredwg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.3
0.4-dev
0.4.900
0.4.924
0.4.938
0.5
0.6
0.6.1
0.6.2
0.7
0.8
0.9
0.9.1
0.9.2
0.9.3

Database specific

vanir_signatures

[
    {
        "digest": {
            "function_hash": "96338434088265487358644619236390278650",
            "length": 523.0
        },
        "target": {
            "function": "bit_write_UMC",
            "file": "src/bits.c"
        },
        "signature_type": "Function",
        "source": "https://github.com/libredwg/libredwg/commit/95cc9300430d35feb05b06a9badf678419463dbe",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2019-20915-210ac7c4"
    },
    {
        "digest": {
            "function_hash": "18052524477363704424498150970287342147",
            "length": 615.0
        },
        "target": {
            "function": "bit_write_MC",
            "file": "src/bits.c"
        },
        "signature_type": "Function",
        "source": "https://github.com/libredwg/libredwg/commit/95cc9300430d35feb05b06a9badf678419463dbe",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2019-20915-3814b3b0"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "113052727542273460921737678445611708993",
                "152939320705181754443722810749730501374",
                "288378964425942374801464293818649235698",
                "253122564011192318149745276804322563525",
                "113052727542273460921737678445611708993",
                "152939320705181754443722810749730501374",
                "288378964425942374801464293818649235698",
                "192192677306202081307193547809927986179"
            ]
        },
        "target": {
            "file": "src/bits.c"
        },
        "signature_type": "Line",
        "source": "https://github.com/libredwg/libredwg/commit/95cc9300430d35feb05b06a9badf678419463dbe",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2019-20915-55eb21a0"
    }
]