Install
Npgsql
Npgsql is the open source .NET data provider for PostgreSQL.
11.0.0Latest, 20 Nov 2026
1.2BDownloads, all time
0Advisories on the latest
1Advisories, all versions
PostgreSQLLicence
3.8KStars
6.4/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | Npgsql vulnerable to SQL Injection via Protocol Message Size Overflow CVE-2024-32655 | Fixed in 5.0.18, 6.0.11, 7.0.7 | 9 May 2024 |
In the news
- Utilizing Neon Serverless PostgresDB using .NET8 via Entity FrameworkCore + NpgSQL dev.to, 9 Apr 2025
- Enum mapping with dapper and npgsql (from posgres enum type) stackoverflow.com, 26 Feb 2025
- EFCore, NPGSQL and NodaTime throws InvalidCast exception reading timestamptz into Instant after upgrade from .Net 6 to 8 stackoverflow.com, 7 Feb 2025
- Why would npgsql be throwing two different errors for timing out? stackoverflow.com, 9 Jan 2025
- How to Force NpgSQL to Pre-Open Connections with DB? stackoverflow.com, 7 Dec 2024
Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.