# CVE-2021-31840: DLL preload vulnerability in McAfee Agent for Windows

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-06-10 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-31840 · JSON: https://cvemate.com/vulnerability/CVE-2021-31840/json

## Description

```text
A vulnerability in the preloading mechanism of specific dynamic link libraries in McAfee Agent for Windows prior to 5.7.3 could allow an authenticated, local attacker to perform a DLL preloading attack with unsigned DLLs. To exploit this vulnerability, the attacker would need to have valid credentials on the Windows system. This would result in the user gaining elevated permissions and being able to execute arbitrary code.
```

## Signals

- CVSS: 7.3 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.348%, percentile 30.329%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mcafee mcafee\_agent: ≥ 5.0.0, \< 5.7.3
- mcafee,llc mcafee agent for windows: ≥ unspecified, \< 5.7.3

## References

- <https://kc.mcafee.com/corporate/index?page=content&id=SB10362>

---

Data as of 2026-12-05T06:45:12.162Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
