# CVE-2021-20204: A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databa…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 2.10%, higher than 82% of CVEs (2026-12-01)
- Published: 2021-05-06T14:50:52.000Z
- Modified: 2026-06-17T03:33:28.017Z
- Weaknesses: CWE-119, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: redhat

## Description

A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.

(As written by CVE List.)

## Affected

- getdata: v0.10.0
- getdata_project getdata: 0.10.0
- debian debian_linux: 9.0
- fedoraproject fedora: 33; 34; 35

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1956348> (issue-tracking, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/05/msg00015.html> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OE23HBLIVKVPOQ5MVADWPOCFMREVF4QZ/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43JTGEMYMCTHD3LHFD7ENBNSWCNBCYEY/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GB7T7DW7XRPJOUE25ZE7GF244FPCHBWY/> (mailing-list, third-party-advisory, vendor-advisory)

## Sources

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

---

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