# CVE-2021-42585

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 0.12.4 (CNA); fix release not confirmed
- Status: published
- Published: 2022-05-23 · Modified: 2024-08-04
- Record: https://cvemate.com/vulnerability/CVE-2021-42585 · JSON: https://cvemate.com/vulnerability/CVE-2021-42585/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.019%, percentile 64.495%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- gnu libredwg: \< 0.12.4

## References

- <https://github.com/LibreDWG/libredwg/issues/351>

---

Data as of 2026-12-05T09:19:16.377Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
