CVE-2025-71316
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.
INFO
Published Date :
June 4, 2026, 7:16 p.m.
Last Modified :
July 22, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
9119a7d8-5eab-497f-8521-727c672e3725
Affected Products
The following products are affected by CVE-2025-71316
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 9119a7d8-5eab-497f-8521-727c672e3725 | |||||
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 9119a7d8-5eab-497f-8521-727c672e3725 | ||||
| CVSS 3.1 | CRITICAL | 9119a7d8-5eab-497f-8521-727c672e3725 | ||||
| CVSS 4.0 | HIGH | 9119a7d8-5eab-497f-8521-727c672e3725 | ||||
| CVSS 4.0 | CRITICAL | 9119a7d8-5eab-497f-8521-727c672e3725 |
Solution
- Update SQLite to the version that addresses this vulnerability.
- Avoid using the '-L' option with untrusted input.
- Sanitize command line arguments before processing.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-71316.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-71316 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-71316
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-71316 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-71316 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 22, 2026
Action Type Old Value New Value Added Translation Title: sqldiff de SQLite, Description: SQLite 'sqldiff.exe' no maneja de forma segura la manera en que el tiempo de ejecución C de Microsoft Windows convierte caracteres Unicode a páginas de códigos ANSI. Un atacante podría usar la opción '-L' para cargar una DLL arbitraria con una cadena de argumento de línea de comandos manipulada que resulta en que los argumentos de archivo de línea de comandos sean malinterpretados como opciones de línea de comandos. Corregido el o alrededor del 2025-12-26. -
CVE Modified by 9119a7d8-5eab-497f-8521-727c672e3725
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'SQLite', 'product': 'sqldiff', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '2025-12-26', 'versionType': 'custom'}, {'status': 'unaffected', 'version': '2025-12-26'}], 'defaultStatus': 'unknown'}] Added SSVC {'id': 'CVE-2025-71316', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-04T19:14:02.746262Z'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-71316', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-05T03:55:53.116575Z'} -
CVE Modified by 9119a7d8-5eab-497f-8521-727c672e3725
Jun. 04, 2026
Action Type Old Value New Value Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Removed CVSS V4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Removed CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 9119a7d8-5eab-497f-8521-727c672e3725
Jun. 04, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-176 Added Reference https://i.blackhat.com/EU-24/Presentations/EU-24-Tsai-V2-WorstFit-Unveiling-Hidden-Transformers-in-Windows-ANSI.pdf Added Reference https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinea#security-remarks Added Reference https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-155-01.json Added Reference https://sqlite.org/src/file/tool/winmain.c Added Reference https://www.cve.org/CVERecord?id=CVE-2025-71316