CVE-2025-71316 SQLite sqldiff remote code execution via argument injection

Critical 9.2 Published Updated

Attackers can execute arbitrary code via DLL injection in SQLite sqldiff due to unsafe Unicode-to-ANSI conversion handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-71316?

CVE-2025-71316 is a critical command injection vulnerability in SQLite sqldiff, published on 4 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-176

Which versions are affected by CVE-2025-71316?

How do I fix CVE-2025-71316?

No fix has been published for CVE-2025-71316 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-71316 being exploited?

There is no known exploitation of CVE-2025-71316 in the wild and no public exploit code.

Sources

Also known as GHSA-gxv8-whj6-g59f.

Is CVE-2025-71316 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free