What’s Vulnerable › Vulnerabilities
CVE-2025-71316: SQLite sqldiff remote code execution via argument injection
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-04 · updated 2026-10-15
- Weakness: CWE-176
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.
Affected products
- SQLite sqldiff: before 2025-12-26 — fixed in 2025-12-26
How to fix
Upgrade to a fixed version: SQLite sqldiff 2025-12-26. Check the vendor advisory for mitigations.
References
- https://i.blackhat.com/EU-24/Presentations/EU-24-Tsai-V2-WorstFit-Unveiling-Hidden-Transformers-in-Windows-ANSI.pdf
- https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinea#security-remarks
- https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-155-01.json
- https://sqlite.org/src/file/tool/winmain.c
- https://www.cve.org/CVERecord?id=CVE-2025-71316
- https://cert-portal.siemens.com/productcert/html/ssa-765416.html
Get alerted when CVE-2025-71316 or the next vulnerability affects your stack