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

- Severity: Critical 9.2 (CVSS:4.0, scored by cisa-cg) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-04T17:39:38.210Z
- Modified: 2026-10-15T02:18:25.980Z
- Weaknesses: CWE-176
- SSVC (cisa-cg): exploitation poc, automatable yes, technical impact total
- Assigned by: cisa-cg

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

(As written by CVE List.)

## Affected

- SQLite sqldiff: before 2025-12-26 (not affected: 2025-12-26)

## Every score

- cisa-cg: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- cisa-cg: CVSS:4.0 9.2 Critical `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`

## References

- <https://i.blackhat.com/EU-24/Presentations/EU-24-Tsai-V2-WorstFit-Unveiling-Hidden-Transformers-in-Windows-ANSI.pdf> (exploit)
- <https://sqlite.org/src/file/tool/winmain.c> (patch)
- <https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinea#security-remarks> (mitigation)
- <https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-155-01.json> (third-party-advisory)
- <https://www.cve.org/CVERecord?id=CVE-2025-71316> (vdb-entry)
- <https://cert-portal.siemens.com/productcert/html/ssa-765416.html>

## Sources

- CVE List: [CVE-2025-71316](https://www.cve.org/CVERecord?id=CVE-2025-71316), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-71316](https://nvd.nist.gov/vuln/detail/CVE-2025-71316), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-71316 · Whole record: https://cve.day/CVE-2025-71316.json · Rebuilt by cve.day 2026-11-25T22:59:12.271Z
