# CVE-2021-31847: Improper privilege management in repair process of MA for Windows

- Severity: High 8.2 (CVSS:3.1, scored by trellix) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/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.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2021-09-22T13:25:18.000Z
- Modified: 2026-06-17T03:52:20.417Z
- Weaknesses: CWE-269, CWE-347, CWE-427
- Assigned by: trellix

## Description

Improper access control vulnerability in the repair process for McAfee Agent for Windows prior to 5.7.4 could allow a local attacker to perform a DLL preloading attack using unsigned DLLs. This would result in elevation of privileges and the ability to execute arbitrary code as the system user, through not correctly protecting a temporary directory used in the repair process and not checking the DLL signature.

(As written by CVE List.)

## Affected

- McAfee,LLC McAfee Agent for Windows: from unspecified before 5.7.4
- mcafee agent: before 5.7.4

## Every score

- trellix: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- 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 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://kc.mcafee.com/corporate/index?page=content&id=SB10369> (broken-link)
- <https://www.zerodayinitiative.com/advisories/ZDI-21-1104/> (third-party-advisory, vdb-entry)

## Sources

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

---

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