An issue was discovered in GNU LibreDWG through 0.9.3. Crafted input will lead to a heap-based buffer over-read in bit_write_TF in bits.c.
{
"cpe": "cpe:2.3:a:gnu:libredwg:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.9.3"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20915.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "96338434088265487358644619236390278650",
"length": 523
},
"id": "CVE-2019-20915-210ac7c4",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libredwg/libredwg/commit/95cc9300430d35feb05b06a9badf678419463dbe",
"target": {
"file": "src/bits.c",
"function": "bit_write_UMC"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "18052524477363704424498150970287342147",
"length": 615
},
"id": "CVE-2019-20915-3814b3b0",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libredwg/libredwg/commit/95cc9300430d35feb05b06a9badf678419463dbe",
"target": {
"file": "src/bits.c",
"function": "bit_write_MC"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"113052727542273460921737678445611708993",
"152939320705181754443722810749730501374",
"288378964425942374801464293818649235698",
"253122564011192318149745276804322563525",
"113052727542273460921737678445611708993",
"152939320705181754443722810749730501374",
"288378964425942374801464293818649235698",
"192192677306202081307193547809927986179"
],
"threshold": 0.9
},
"id": "CVE-2019-20915-55eb21a0",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libredwg/libredwg/commit/95cc9300430d35feb05b06a9badf678419463dbe",
"target": {
"file": "src/bits.c"
}
}
]
"2026-08-07T16:35:24Z"