# CVE-2021-45950: LibreDWG 0.12.4.4313 through 0.12.4.4367 has an out-of-bounds write in dwgfreeBLOCKprivate (called from dwgfreeBLOCK and dwgfreeobject).

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 61% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-12-31T23:54:21.000Z
- Modified: 2026-06-17T04:14:18.497Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

LibreDWG 0.12.4.4313 through 0.12.4.4367 has an out-of-bounds write in dwg_free_BLOCK_private (called from dwg_free_BLOCK and dwg_free_object).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnu libredwg: from 0.12.4.4313 up to 0.12.4.4367

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libredwg/OSV-2021-814.yaml> (exploit, third-party-advisory)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34766> (exploit, issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2021-45950](https://www.cve.org/CVERecord?id=CVE-2021-45950), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-45950](https://nvd.nist.gov/vuln/detail/CVE-2021-45950), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45950 · Whole record: https://cve.day/CVE-2021-45950.json · Rebuilt by cve.day 2026-11-25T22:58:06.313Z
