You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove temporary SQLitePCLRaw.lib.e_sqlite3 3.50.3 security override once Microsoft.Data.Sqlite ships the CVE-2025-6965 fix #604
Directory.Packages.props currently carries a temporary security override that pins the native SQLitePCLRaw.lib.e_sqlite3 package to 3.50.3. This issue tracks the upstream fixes so we can remove the override once Microsoft.Data.Sqlite / Microsoft.EntityFrameworkCore.Sqlite ship a
release that pulls a non-vulnerable native SQLite bundle on their own.
Background
Microsoft.Data.Sqlite and Microsoft.EntityFrameworkCore.Sqlite10.0.9 transitively resolve:
SQLitePCLRaw.lib.e_sqlite3 <= 2.1.11 bundles a SQLite build affected by CVE-2025-6965 (High). There is no 2.1.x patch —
the fix is a major bump to SQLitePCLRaw 3.x, which Microsoft.Data.Sqlite 10.0.9 does not reference.
This bumps only the native binary to SQLite 3.50.3 (the lib.e_sqlite3 3.50.3 package has no
managed dependencies), keeping the SQLitePCLRaw 2.x managed core that Microsoft.Data.Sqlite 10.0.9 was
built against. It clears CVE-2025-6965 without moving to the SQLitePCLRaw 3.x core.
Switches Sqlite packages to a non-vulnerable bundle. Milestone 11.0-preview6.
ETA: the official fix ships in Microsoft.Data.Sqlite / EF Core 11.0-preview6. No confirmed
10.x / 8.x servicing backport yet.
Done when
Microsoft.Data.Sqlite + Microsoft.EntityFrameworkCore.Sqlite upgraded to a release that
transitively resolves a non-vulnerable native SQLite (>= 3.50.2) on its own.
SQLitePCLRaw.lib.e_sqlite3PackageVersion pin removed from Directory.Packages.props.
CentralPackageTransitivePinningEnabled removed if nothing else relies on it.
dotnet nuget why <project> SQLitePCLRaw.lib.e_sqlite3 re-verified to show a non-vulnerable
version, and the NuGet vulnerability warning is gone.
Opened #720 (draft) to remove the temporary override.
The upstream fix has shipped on the stable channel, contrary to what this issue originally anticipated (the 11.0-preview line):
dotnet/efcore#38257 is closed / completed (milestone 10.0.11). The fix landed on the SQLitePCLRaw 2.x line as 2.1.12, and Microsoft.Data.Sqlite / Microsoft.EntityFrameworkCore.Sqlite10.0.12 now transitively resolve bundle_e_sqlite3 2.1.12 -> lib.e_sqlite3 2.1.12 on their own.
Evidence that removal is safe (and not a native downgrade):
The advisory range is SQLitePCLRaw.lib.e_sqlite3 <= 2.1.11, so 2.1.12 is out of range — a forced restore + build reports 0 vulnerability warnings under TreatWarningsAsErrors (the NU1903 is gone).
The 3.53.3 -> 2.1.12 entry in the dependency-graph diff is a versioning-scheme artifact, not a downgrade: the native e_sqlite3.dll shipped by lib.e_sqlite3 2.1.12 is SHA256-identical to the removed 3.53.3 override (both SQLite 3.53.3). For reference, 2.1.11 was SQLite 3.49.1 (< 3.50.2, hence vulnerable).
#720 removes the SQLitePCLRaw.lib.e_sqlite3 pin and CentralPackageTransitivePinningEnabled, satisfying the "Done when" checklist, and will close this issue on merge.
Activity
Update package versions and mitigate CVE-2025-6965 in transitive SQLite
jschick04 commentedon Sep 14, 2026
Opened #720 (draft) to remove the temporary override.
The upstream fix has shipped on the stable channel, contrary to what this issue originally anticipated (the 11.0-preview line):
dotnet/efcore#38257is closed / completed (milestone 10.0.11). The fix landed on the SQLitePCLRaw 2.x line as2.1.12, andMicrosoft.Data.Sqlite/Microsoft.EntityFrameworkCore.Sqlite10.0.12 now transitively resolvebundle_e_sqlite3 2.1.12 -> lib.e_sqlite3 2.1.12on their own.Evidence that removal is safe (and not a native downgrade):
SQLitePCLRaw.lib.e_sqlite3 <= 2.1.11, so 2.1.12 is out of range — a forced restore + build reports 0 vulnerability warnings underTreatWarningsAsErrors(theNU1903is gone).3.53.3 -> 2.1.12entry in the dependency-graph diff is a versioning-scheme artifact, not a downgrade: the nativee_sqlite3.dllshipped bylib.e_sqlite3 2.1.12is SHA256-identical to the removed3.53.3override (both SQLite 3.53.3). For reference,2.1.11was SQLite 3.49.1 (< 3.50.2, hence vulnerable).#720 removes the
SQLitePCLRaw.lib.e_sqlite3pin andCentralPackageTransitivePinningEnabled, satisfying the "Done when" checklist, and will close this issue on merge.