# CVE-2023-22743: Git for Windows' installer is susceptible to DLL side loading attacks

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:H/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.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2023-02-14T20:39:30.094Z
- Modified: 2026-06-17T05:36:04.943Z
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, by carefully crafting DLL and putting into a subdirectory of a specific name living next to the Git for Windows installer, Windows can be tricked into side-loading said DLL. This potentially allows users with local write access to place malicious payloads in a location where automated upgrades might run the Git for Windows installer with elevation. Version 2.39.2 contains a patch for this issue. Some workarounds are available. Never leave untrusted files in the Downloads folder or its sub-folders before executing the Git for Windows installer, or move the installer into a different directory before executing it.

(As written by CVE List.)

## Affected

- git-for-windows git: < 2.39.2
- git_for_windows_project git_for_windows: before 2.39.2

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq> (vendor-advisory)
- <https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3> (vendor-advisory)
- <https://attack.mitre.org/techniques/T1574/002/> (technical-description)
- <https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1> (release-notes)
- <https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32dll-version-6-in-an-application-that-uses-only-standard-extensions> (patch, technical-description, vendor-advisory)
- <https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-> (patch, technical-description, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-22743 · Whole record: https://cve.day/CVE-2023-22743.json · Rebuilt by cve.day 2026-11-25T22:58:22.023Z
