CVE-2024-32655
CVSS v3
8.1
HIGH
EPSS Score
1.7 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for Npgsql.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- NpgsqlNuGetfrom 7.0.0 · fixed in 7.0.7
Description
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 overflow when the sum of parameter lengths becomes too large. This causes Npgsql to write a message size that is too small when constructing a Postgres protocol message to send it over the network to the database. When parsing the message, the database will only read a small number of bytes and treat any following bytes as new messages while they belong to the old message. Attackers can abuse this to inject arbitrary Postgres protocol messages into the connection, leading to the execution of arbitrary SQL statements on the application's behalf. This vulnerability is fixed in 4.0.14, 4.1.13, 5.0.18, 6.0.11, 7.0.7, and 8.0.3.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-05-14
- Last Modified
- 2026-04-15
Frequently asked questions
What is CVE-2024-32655?
Is CVE-2024-32655 actively exploited?
What is the CVSS score for CVE-2024-32655?
Running Npgsql? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2024-4947KEVsame week
- CVE-2024-4761KEVsame weekchromium-browser: Out of bounds write in V8
- CVE-2024-4671KEVsame weekchromium-browser: use after free in Visuals
- CVE-2024-29895same weekCacti command injection in cmd_realtime.php
- CVE-2024-25641same weekCacti RCE vulnerability when importing packages
- CVE-2024-28075same weekSolarWinds ARM Deserialization of Untrusted Data Remote Code Execution
- CVE-2024-22120same week
- CVE-2024-27954same week