{"id":"CVE-2021-42585","aliases":["EUVD-2021-29549","GHSA-cm63-q44g-45j5"],"status":"published","title":"A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c in dwgread...","description":"A heap buffer overflow was discovered in copy_compressed_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-11","score":0.01019,"percentile":0.63777,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2022-05-23T10:35:43Z","modified":"2026-10-20T10:55:00Z","products":[{"vendor":"gnu","product":"libredwg"}],"references":[{"url":"https://github.com/LibreDWG/libredwg/issues/351","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42585"},{"url":"https://github.com/advisories/GHSA-cm63-q44g-45j5"}],"sources":{"cve":[{"id":"CVE-2021-42585","description":"A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-23T10:35:43Z","modified":"2024-08-04T03:38:49.37Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29549","description":"A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-23T10:35:43Z","modified":"2024-08-04T03:38:49Z","updated_at":"2026-11-03T03:24:15.755984Z"}],"ghsa":[{"id":"GHSA-cm63-q44g-45j5","title":"A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c in dwgread...","description":"A heap buffer overflow was discovered in copy_compressed_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:09Z","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:18.5771Z"}],"nvd":[{"id":"CVE-2021-42585","description":"A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-23T11:16:10.547Z","modified":"2026-06-17T04:09:52.037Z","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-42585","description":"A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c in dwgread before 0.12.4 via a crafted dwg file.","status":"published","published":"2022-05-23T11:16:10.547Z","modified":"2026-10-20T10:55:00.784950499Z","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"}]}}
