# CVE-2021-22037: Under certain circumstances, when manipulating the Windows registry, InstallBuilder uses the reg.exe system command.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2021-10-29T11:09:07.000Z
- Modified: 2026-06-17T03:36:35.473Z
- Weaknesses: CWE-427
- Assigned by: vmware

## Description

Under certain circumstances, when manipulating the Windows registry, InstallBuilder uses the reg.exe system command. The full path to the command is not enforced, which results in a search in the search path until a binary can be identified. This makes the installer/uninstaller vulnerable to Path Interception by Search Order Hijacking, potentially allowing an attacker to plant a malicious reg.exe command so it takes precedence over the system command. The vulnerability only affects Windows installers.

(As written by CVE List.)

## Affected

- VMware InstallBuilder: All InstallBuilder versions prior to version 21.6.0; before 21.6.0

## Every score

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

## References

- <https://blog.installbuilder.com/2021/10/installbuilder-2160-released.html> (release-notes, vendor-advisory)

## Sources

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

---

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