SQL Injection in Npgsql

CVE-2024-32655

Npgsql is the .NET data provider for PostgreSQL. The `WriteBind()` method in `src/Npgsql/Internal/NpgsqlConnector.FrontendMessages.cs` uses `int` variables to store the message length and the sum of parameter lengths. Both variables overfl…

Vulnerability class: SQL Injection

EPSS: 0.017 (74.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Npgsql — versions >= 4.0.0, < 4.0.14, >= 4.1.0, < 4.1.13, >= 5.0.0, < 5.0.18

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-32655?
CVE-2024-32655 is a high-severity vulnerability in Npgsql, classified under SQL Injection. CVSS score: 8.1/10. Published 2024-05-14.
How severe is CVE-2024-32655?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2024-32655 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.