{"id":"CVE-2025-71316","state":"PUBLISHED","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.","publishedAt":"2026-06-04T17:39:38.210Z","updatedAt":"2026-10-15T01:11:23.519Z","severity":{"score":9.2,"label":"Critical","version":"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","source":"cisa-cg"},"assigner":"cisa-cg","products":["SQLite sqldiff"],"affected":[{"vendor":"SQLite","product":"sqldiff","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2025-12-26","versionType":"custom"},{"version":"2025-12-26","status":"unaffected"}]}],"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","https://cert-portal.siemens.com/productcert/html/ssa-765416.html"],"weaknesses":["CWE-176"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/71xxx/CVE-2025-71316.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71316","state":"PUBLISHED","datePublished":"2026-06-04T17:39:38.210Z","dateUpdated":"2026-10-15T01:11:23.519Z","assignerShortName":"cisa-cg","assignerOrgId":"9119a7d8-5eab-497f-8521-727c672e3725","dateReserved":"2026-06-04T17:08:59.278Z"},"containers":{"cna":{"title":"SQLite sqldiff remote code execution via argument injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"SQLite","product":"sqldiff","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2025-12-26","versionType":"custom"},{"version":"2025-12-26","status":"unaffected"}]}],"references":[{"url":"https://sqlite.org/src/file/tool/winmain.c","name":"url","tags":["patch"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinea#security-remarks","name":"url","tags":["mitigation"]},{"url":"https://i.blackhat.com/EU-24/Presentations/EU-24-Tsai-V2-WorstFit-Unveiling-Hidden-Transformers-in-Windows-ANSI.pdf","name":"url","tags":["exploit"]},{"url":"https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-155-01.json","name":"url","tags":["third-party-advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-71316","name":"url","tags":["vdb-entry"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"cvssV4_0":{"version":"4.0","baseScore":9.2,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"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","userInteraction":"NONE","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","subIntegrityImpact":"NONE","vulnIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnConfidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-06-04T19:14:02.746262Z","id":"CVE-2025-71316","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-176","description":"CWE-176 Improper Handling of Unicode Encoding","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"cisa-cg","orgId":"9119a7d8-5eab-497f-8521-727c672e3725","dateUpdated":"2026-06-04T19:14:20.094Z"},"credits":[{"value":"Vincent55","lang":"en"}],"datePublic":"2025-12-26T00:00:00.000Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-05T03:55:53.116575Z","id":"CVE-2025-71316","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-10T10:34:07.961Z"}},{"affected":[{"vendor":"Siemens","product":"RUGGEDCOM CROSSBOW Station Access Controller (SAC)","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"V6.0","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-765416.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:11:23.519Z"},"x_adpType":"supplier"}]}}}