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.
Published: 2026-06-04
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SQLite sqldiff.exe fails to handle Microsoft Windows C runtime Unicode‑to‑ANSI conversions, enabling an attacker to pass a crafted '-L' argument that causes a chosen DLL to be loaded. This flaw lets the attacker execute arbitrary code with the privileges of the user running sqldiff. The vulnerability is a classic CWE‑176 (Command Injection) and can compromise confidentiality, integrity, and availability of the affected system.

Affected Systems

Windows installations of SQLite’s sqldiff utility that have not applied the bug fix released around 2025‑12‑26. All pre‑fix versions are vulnerable.

Risk and Exploitability

The CVSS score of 9.2 indicates high severity, but the EPSS score is not available, so actual exploitation probability is uncertain. Because the flaw requires passing a specially crafted command line, the most likely attack vector is a local attacker or automated attacker that can invoke sqldiff with arbitrary arguments. The flaw is not listed in the CISA KEV catalog, suggesting no documented large‑scale exploitation yet.

Generated by OpenCVE AI on June 4, 2026 at 20:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official patch released on 2025‑12‑26 to the sqldiff tool.
  • Restrict execution of sqldiff to trusted users by applying appropriate file‑system permissions.
  • Implement logging of command‑line arguments for sqldiff to detect suspicious activity.

Generated by OpenCVE AI on June 4, 2026 at 20:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 04 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, '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'}


Thu, 04 Jun 2026 18:30:00 +0000

Type Values Removed Values 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.
Title SQLite sqldiff remote code execution via argument injection
Weaknesses CWE-176
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: cisa-cg

Published:

Updated: 2026-06-05T03:55:52.289Z

Reserved: 2026-06-04T17:08:59.278Z

Link: CVE-2025-71316

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-04T19:16:27.170

Modified: 2026-06-04T20:16:56.947

Link: CVE-2025-71316

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-04T20:30:16Z

Weaknesses