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

- 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: 2023-02-14 · Modified: 2025-03-10
- Aliases: CGA-7hc7-3m6f-7q8f, CGA-v9vg-492j-xhqm
- Record: https://cvemate.com/vulnerability/CVE-2023-22743 · JSON: https://cvemate.com/vulnerability/CVE-2023-22743/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.352%, percentile 30.883%, 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

- chainguard git (Chainguard): All versions (No fix recorded)
- wolfi git (Wolfi): All versions (No fix recorded)
- git\_for\_windows\_project git\_for\_windows: \< 2.39.2
- git-for-windows git: \< 2.39.2

## References

- <https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq>
- <https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3>
- <https://attack.mitre.org/techniques/T1574/002/>
- <https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1>
- <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>
- <https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies->
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22743.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22743>

---

Data as of 2026-12-05T03:09:33.782Z. 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
