cvedb.io
CVE-2023-25815
LOW · CVSS 3.3
EPSS exploitation probability: 0%
Published 2023-04-25T20:15:09.997 · Last modified 2026-06-17T05:42:02.700

Summary

In Git for Windows, the Windows port of Git, no localized messages are shipped with the installer. As a consequence, Git is expected not to localize messages at all, and skips the gettext initialization. However, due to a change in MINGW-packages, the `gettext()` function's implicit initialization no longer uses the runtime prefix but uses the hard-coded path `C:\mingw64\share\locale` to look for localized messages. And since any authenticated user has the permission to create folders in `C:\` (and since `C:\mingw64` does not typically exist), it is possible for low-privilege users to place fake messages in that location where `git.exe` will pick them up in version 2.40.1. This vulnerability is relatively hard to exploit and requires social engineering. For example, a legitimate message a

Affected products

git_for_windows_project — git_for_windows

Does this affect you?

Add your gear to cvedb and we'll alert you only when git_for_windows_project ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.