{"id":"CVE-2025-71316","revision":"c1ebf9d6b46d48dabd1014987fa7472b","records":[{"revision":"c1ebf9d6b46d48dabd1014987fa7472b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-71316","aliases":[],"title":"SQLite sqldiff remote code execution via argument injection","description":"SQLite 'sqldiff.exe' does not securely handle the way the Microsoft Windows C runtime converts Unicode characters to ANSI codepages.  An attacker could use the '-L' option to load an arbitrary DLL with a crafted command line argument string that results in command line file arguments being misinterpreted as command line options. Fixed on or around 2025-12-26.","state":0,"publishedAt":"2026-06-04T17:39:38.21+00:00","modifiedAt":"2026-10-15T01:11:23.519+00:00","affected":[{"ecosystem":"Vendor product","name":"sqldiff","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"SQLite\",\n                    \"product\": \"sqldiff\",\n                    \"defaultStatus\": \"unknown\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThan\": \"2025-12-26\",\n                            \"versionType\": \"custom\"\n                        },\n                        {\n                            \"version\": \"2025-12-26\",\n                            \"status\": \"unaffected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"},{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"severity":"CRITICAL"}],"references":["https://sqlite.org/src/file/tool/winmain.c","https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinea#security-remarks","https://i.blackhat.com/EU-24/Presentations/EU-24-Tsai-V2-WorstFit-Unveiling-Hidden-Transformers-in-Windows-ANSI.pdf","https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-155-01.json","https://www.cve.org/CVERecord?id=CVE-2025-71316"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-71316","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-71316","identifiers":["CVE-2025-71316"]},"retained":false,"historicalAffected":[]}],"coverage":[]}