{"id":"CVE-2021-42586","aliases":["EUVD-2021-29550","GHSA-mx9j-5cm7-gv82"],"status":"published","title":"A heap buffer overflow was discovered in copy_bytes in decode_r2007.c in dwgread before 0.12.4...","description":"A heap buffer overflow was discovered in copy_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.0103,"percentile":0.64171,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2022-05-23T10:39:30Z","modified":"2026-10-20T10:55:00Z","products":[{"vendor":"gnu","product":"libredwg"}],"references":[{"url":"https://github.com/LibreDWG/libredwg/issues/350","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42586"},{"url":"https://github.com/advisories/GHSA-mx9j-5cm7-gv82"}],"sources":{"cve":[{"id":"CVE-2021-42586","description":"A heap buffer overflow was discovered in copy_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-23T10:39:30Z","modified":"2024-08-04T03:38:49.594Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29550","description":"A heap buffer overflow was discovered in copy_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-23T10:39:30Z","modified":"2024-08-04T03:38:49Z","updated_at":"2026-11-03T03:24:15.755984Z"}],"ghsa":[{"id":"GHSA-mx9j-5cm7-gv82","title":"A heap buffer overflow was discovered in copy_bytes in decode_r2007.c in dwgread before 0.12.4...","description":"A heap buffer overflow was discovered in copy_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-24T00:01:47Z","modified":"2023-01-28T05:05:24Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:44:20.513282Z"}],"nvd":[{"id":"CVE-2021-42586","description":"A heap buffer overflow was discovered in copy_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-23T11:16:10.6Z","modified":"2026-06-17T04:09:52.153Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-42586","description":"A heap buffer overflow was discovered in copy_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-23T11:16:10.6Z","modified":"2026-10-20T10:55:00.925421502Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.557945Z"}]}}
