CRITICAL🇵🇱 Wersja polska

CVE-2025-71316

CVSS 9.2v4.0pub. 2026-06-04upd. 2026-07-22

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.

🤖 AI Analysis
How it works

The problem results from improper handling of Unicode to ANSI character conversion (CWE-176) by Windows C runtime. An attacker creates a specially crafted command-line argument containing Unicode characters that, when converted to ANSI, are incorrectly interpreted — instead of as file names, they are read as command-line options. Using the '-L' option, it is possible to specify a path to an arbitrary DLL library, which is then loaded by the application. This technique is related to a class of attacks based on unpredictable Unicode character transformation in Windows environments (so-called Best-Fit mapping).

Impact

An attacker can cause arbitrary code execution in the form of a malicious DLL library to be loaded, leading to violations of confidentiality, integrity, and system availability. Depending on the execution context of sqldiff.exe, process takeover or privilege escalation may be possible.

Mitigation & patch

SQLite should be updated to a version released after 2025-12-26, in which the patch was introduced. Details regarding specific versions should be checked in the vendor references (sqlite.org). Additionally, it is recommended to restrict the ability to run sqldiff.exe by unprivileged users and to monitor the loading of unknown DLL libraries in Windows environments.

Who is affected

SQLite — sqldiff.exe tool running on Microsoft Windows platform; according to the description, the vulnerability was patched around 2025-12-26. Specific versions are indicated in the vendor references.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS 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/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
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References