CVE-2024-32655 — Vulnerability in Npgsql — CVE Details
Npgsql vulnerable to SQL Injection via Protocol Message Size Overflow
Summary
Advisory Timeline
- First published May 9, 2024 (886 days ago).
- Last revised September 10, 2026 — 854 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Npgsql --version 7.0.7
dotnet add package Npgsql --version 4.1.13
dotnet add package Npgsql --version 8.0.3
dotnet add package Npgsql --version 5.0.18
dotnet add package Npgsql --version 4.0.14
dotnet add package Npgsql --version 6.0.11
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: nuget (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| Npgsql | nuget | 7.0.0, 7.0.1, 7.0.2, 7.0.4 (+1 more) | 7.0.7 |
| Npgsql | nuget | 4.1.0, 4.1.1, 4.1.10, 4.1.11 (+10 more) | 4.1.13 |
| Npgsql | nuget | 8.0.0, 8.0.1, 8.0.2 | 8.0.3 |
| Npgsql | nuget | 5.0.0, 5.0.1, 5.0.1.1, 5.0.10 (+12 more) | 5.0.18 |
| Npgsql | nuget | 2.0.11, 2.0.12, 2.0.12.1, 2.0.13-beta1 (+80 more) | 4.0.14 |
| Npgsql | nuget | 6.0.0, 6.0.1, 6.0.10, 6.0.2 (+7 more) | 6.0.11 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/npgsql/npgsql/security/advisories/GHSA-x9vc-6hfv-hg8cWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32655ADVISORY
- https://github.com/npgsql/npgsql/commit/091655eed0c84e502ab424950c930339d17c1928WEB
- https://github.com/npgsql/npgsql/commit/3183efb2bdcca159c8c2e22af57e18ea8f853cf0WEB
- https://github.com/npgsql/npgsql/commit/67acbe027e28477ac2199e15cfb554bb2ffaf169WEB
- https://github.com/npgsql/npgsql/commit/703d9af8fa48dfe8c0180e36edb8278f34342d7bWEB
- https://github.com/npgsql/npgsql/commit/a22a42d8141d7a3528f43c02c095a409507cf1afWEB
- https://github.com/npgsql/npgsql/commit/e34e2ba8042e666d9af54a1b255fba4d5b11df56WEB
- https://github.com/npgsql/npgsql/commit/f7e7ead0702d776a8f551f5786c4cac2d65c4bc6WEB
- https://www.youtube.com/watch?v=Tfg1B8u1yvEWEB
- https://github.com/npgsql/npgsql/releases/tag/v8.0.3WEB
- https://github.com/npgsql/npgsql/releases/tag/v7.0.7WEB
- https://github.com/npgsql/npgsql/releases/tag/v6.0.11WEB
- https://github.com/npgsql/npgsql/releases/tag/v5.0.18WEB
- https://github.com/npgsql/npgsql/releases/tag/v4.1.13WEB
- https://github.com/npgsql/npgsql/releases/tag/v4.0.14WEB
- https://github.com/npgsql/npgsql/files/14309397/npgsql-protocol-overflow-poc.zipWEB
- https://github.com/npgsql/npgsql/files/14309386/Npgsql.Security.Advisory.pdfWEB
- https://github.com/npgsql/npgsqlPACKAGE
Frequently Asked Questions
- What is CVE-2024-32655?
- Npgsql vulnerable to SQL Injection via Protocol Message Size Overflow This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2024-32655?
- CVE-2024-32655 affects Npgsql. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-32655 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-106112HIGH
ImageSharp: ICC LUT16 output channel count can write beyond Vector4
- CVE-2026-106115HIGH
ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies