CVE-2024-32655
No exploitation reported by the sources we read.
- Published2024-05-14
- Fixed in8.0.3 · 7.0.7 · 6.0.11 · 5.0.18 · 4.1.13 · 4.0.14
- WeaknessCWE-190 · CWE-89
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-05-1415:36CVE publishedNVD
Versions per branch
CISA-ADP · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | ≥ 7.0.0, < 8.0.3 | 8.0.3 | CISA-ADP |
| 8.0 | ≥ 8.0.0, < 8.0.3 | 8.0.3 | CISA-ADP · OSV |
| 7.0 | ≥ 7.0.0, < 7.0.7 | 7.0.7 | OSV |
| 6.0 | ≥ 6.0.0, < 6.0.11 | 6.0.11 | CISA-ADP · OSV |
| 5.0 | ≥ 5.0.0, < 5.0.18 | 5.0.18 | CISA-ADP · OSV |
| 4.1 | ≥ 4.1.0, < 4.1.13 | 4.1.13 | CISA-ADP · OSV |
| 4.0 | ≥ 4.0.0, < 4.0.14 | 4.0.14 | CISA-ADP |
| 4.0 | < 4.0.14 | 4.0.14 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- npgsqlAffected
- = >= 4.0.0, < 4.0.14no fix stated
- = >= 4.1.0, < 4.1.13no fix stated
- = >= 5.0.0, < 5.0.18no fix stated
- = >= 6.0.0, < 6.0.11no fix stated
- = >= 7.0.0, < 7.0.7no fix stated
- = >= 8.0.0, < 8.0.3no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-12-12
Distribution builds and vendor advisories
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
- lidarrCleanStartall versions · fixed in 2.3.3.4204-r0
- npgsqlUbuntu:24.04:LTSall versions · no fixed version listed
- npgsqlUbuntu:22.04:LTSall versions · no fixed version listed
- npgsqlUbuntu:20.04:LTSall versions · no fixed version listed
- npgsqlUbuntu:18.04:LTSall versions · no fixed version listed
- npgsqlUbuntu:16.04:LTSall versions · no fixed version listed
- prowlarrCleanStartall versions · fixed in 1.17.2.4511-r0
- radarrCleanStartall versions · fixed in 5.5.3.8819-r0
Fix
- Update Npgsql to 8.0.3 · 7.0.7 · 6.0.11 · 5.0.18 · 4.1.13 · 4.0.14
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2024-05-09
- CNACVSS 3.18.1known since 2026-10-23
- CNAweakness (CWE)CWE-190, CWE-89known since 2026-10-23
- FIRST EPSSEPSS score1.7 %2026-12-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2024-05-09
Identifiers
- EUVD-2024-1856same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-x9vc-6hfv-hg8csame flawGitHub Advisory Database · CC-BY-4.0
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-06-17
- NVD status
- Deferred
- GitHub advisory
- GHSA-x9vc-6hfv-hg8c
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
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 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? Vulnerability monitoring 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-27834KEVsame week
- CVE-2024-29895same weekCacti command injection in cmd_realtime.php
- CVE-2024-25641same weekCacti RCE vulnerability when importing packages
- CVE-2024-22120same week
- CVE-2024-4367same week
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-x9vc-6hfv-hg8c
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0