LiveActive security incident?Get immediate response
CVE Record

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

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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2025-71316 affects SQLite’s Windows sqldiff.exe tool, not clearly the SQLite database library itself. A crafted command line can be misread after Windows Unicode-to-ANSI conversion, causing sqldiff to treat file names as options and load an arbitrary DLL. Sources rate this as critical, but do not show known active exploitation.

Executive priority

Treat as urgent for Windows environments using sqldiff in automated or exposed workflows. Prioritize inventory first because sqldiff is often a bundled utility. If present with untrusted inputs, update or disable that workflow quickly. No source provided confirms active exploitation.

Technical view

The issue is argument injection in sqldiff.exe on Windows related to Microsoft C runtime command-line parsing and ANSI codepage conversion, aligned with CWE-176. The dangerous outcome is misuse of the -L option to load an attacker-chosen DLL. The CVE lists affected SQLite sqldiff versions up to around 2025-12-26 and references a SQLite winmain.c patch.

Likely exposure

Highest exposure is Windows environments that run sqldiff.exe with attacker-controlled or externally supplied filenames, arguments, paths, archives, or automation inputs. Build systems, CI jobs, database comparison workflows, and support tooling may be relevant. Evidence does not establish exposure for non-Windows sqldiff or the core SQLite library.

Exploitation context

The CVE claims network, low-complexity, no-privilege, no-user-interaction impact, but the practical path likely depends on some workflow invoking sqldiff with attacker-influenced command-line content. KEV is false, and the provided sources do not confirm active exploitation in the wild.

Researcher notes

Key uncertainty is real-world reachability: the CVE describes RCE, but exploitation requires control over command-line interpretation in a sqldiff invocation. The provided affected range is broad and default status is unknown. Validate against SQLite’s referenced source change and any downstream package advisories.

Mitigation direction

  • Identify Windows systems and pipelines that include or execute sqldiff.exe.
  • Update to a sqldiff build incorporating SQLite’s winmain.c fix around 2025-12-26.
  • Do not pass attacker-controlled filenames or arguments directly to sqldiff.
  • Review vendor SQLite guidance for exact fixed releases and packaging details.
  • For maintainers, follow Microsoft guidance on avoiding unsafe GetCommandLineA parsing assumptions.

Validation and detection

  • Inventory sqldiff.exe copies in developer, CI, admin, and application directories.
  • Confirm each sqldiff build date or source revision is after the referenced fix.
  • Review automation for sqldiff execution using untrusted file names or paths.
  • Check whether workflows allow the sqldiff -L option from external input.
  • Monitor unexpected DLL loads by sqldiff.exe where endpoint telemetry is available.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-176: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-71316 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
1ADP providers
6Source links

SSVC decision data

cisa-cgCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9cisa-cg
9.2CVSS 4.0CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:Ncisa-cg

Vulnerability scoring details

Base CVSS 4.0 score

9.2Critical
CVSS 4.0 vector shape for CVE-2025-71316Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

  • CVE List V5 sourceCVE List V5
  • urlCVE reference, cisa-cg · patch
  • urlCVE reference, cisa-cg · mitigation
  • urlCVE reference, cisa-cg · exploit
  • urlCVE reference, cisa-cg · third-party-advisory
  • urlCVE reference, cisa-cg · vdb-entry
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
SQLitesqldiff0, 2025-12-26unknown
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-176 · source CWE mapping

Improper Handling of Unicode Encoding

Improper Handling of Unicode Encoding represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.