# CVE-2021-3622: A flaw was found in the hivex library.

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- 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): 4.95%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-23T20:31:25.000Z
- Modified: 2026-06-17T04:05:27.520Z
- Weaknesses: CWE-400
- Assigned by: redhat

## Description

A flaw was found in the hivex library. This flaw allows an attacker to input a specially crafted Windows Registry (hive) file, which would cause hivex to recursively call the _get_children() function, leading to a stack overflow. The highest threat from this vulnerability is to system availability.

(As written by CVE List.)

## Affected

- hivex: hivex-1.3.21
- redhat hivex: before 1.3.21
- redhat enterprise_linux: 6.0; 7.0; 8.0
- redhat enterprise_linux_workstation: 7.0
- fedoraproject fedora: 33; 34

## Every score

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

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1975489> (exploit, issue-tracking, patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/USD4OEV6L3RPHE32V2MJ4JPFBODINWSU/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S35TVTAPHORSUIFYNFBHKLQRPVFUPXBE/> (vendor-advisory)
- <https://github.com/libguestfs/hivex/commit/771728218dac2fbf6997a7e53225e75a4c6b7255> (patch, third-party-advisory)
- <https://listman.redhat.com/archives/libguestfs/2021-August/msg00002.html> (mailing-list, patch, vendor-advisory)

## Sources

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

---

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