{"id":"CVE-2025-71316","published":"2026-06-04T17:39:38Z","modified":"2026-10-15T01:11:23Z","title":"SQLite sqldiff remote code execution via argument injection","vendor":"SQLite","product":"sqldiff","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00721,"percentile":0.49771,"provenance":"source"},"cwes":[{"id":"CWE-176","name":"Improper Handling of Unicode Encoding"}],"references":[{"url":"https://sqlite.org/src/file/tool/winmain.c","tags":["patch"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinea#security-remarks","tags":["mitigation"]},{"url":"https://i.blackhat.com/EU-24/Presentations/EU-24-Tsai-V2-WorstFit-Unveiling-Hidden-Transformers-in-Windows-ANSI.pdf","tags":["exploit"]},{"url":"https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-155-01.json","tags":["third-party-advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-71316","tags":["vdb-entry"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-765416.html","tags":[]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":9.95},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"sqlite","affectedVersions":[{"vendor":"SQLite","product":"sqldiff","versions":["< 2025-12-26"]}],"fixedVersions":[{"vendor":"SQLite","product":"sqldiff","versions":["2025-12-26"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-05T03:55:53.116575Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-210067","exploited":false,"provenance":"source"},"exploitRefs":["https://i.blackhat.com/EU-24/Presentations/EU-24-Tsai-V2-WorstFit-Unveiling-Hidden-Transformers-in-Windows-ANSI.pdf"]}