# CVE-2022-0166: Privilege escalation vulnerability in McAfee Agent

- Severity: High 7.8 (CVSS:3.1, scored by trellix) `CVSS:3.1/AV:L/AC:L/PR:L/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.94%, higher than 87% of CVEs (2026-12-01)
- Published: 2022-01-19T11:05:11.000Z
- Modified: 2026-06-17T04:20:05.033Z
- Weaknesses: CWE-427
- Assigned by: trellix

## Description

A privilege escalation vulnerability in the McAfee Agent prior to 5.7.5. McAfee Agent uses openssl.cnf during the build process to specify the OPENSSLDIR variable as a subdirectory within the installation directory. A low privilege user could have created subdirectories and executed arbitrary code with SYSTEM privileges by creating the appropriate pathway to the specifically created malicious openssl.cnf file.

(As written by CVE List.)

## Affected

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

## Every score

- trellix: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://kc.mcafee.com/corporate/index?page=content&id=SB10378>
- <https://www.kb.cert.org/vuls/id/287178> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-0166 · Whole record: https://cve.day/CVE-2022-0166.json · Rebuilt by cve.day 2026-11-25T22:58:09.298Z
