psqlODBC Windows driver versions up to 18.00.0007 load pgenlist.dll for MSDTC enlistment without specifying the DLL path, allowing DLL search order hijacking. A local user with write access to certain directories could place a malicious pgenlist.dll, causing the application to load and execute it with the application's privileges when enlisting in MSDTC. Applications that do not use SQL_ATTR_ENLIST_IN_DTC are unaffected.