CVEBrief

Home / npgsql / npgsql / CVE-2024-32655

CVE-2024-32655: is it exploited, and which versions of npgsql are affected and fixed?

CVE-2024-32655 is an integer overflow vulnerability in npgsql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: Npgsql from 8.0.0 before 8.0.3, Npgsql before 4.0.14, Npgsql from 4.1.0 before 4.1.13 and 3 more (GitHub advisory GHSA-x9vc-6hfv-hg8c). Fixed in 8.0.3, 4.0.14, 4.1.13, 5.0.18 and 2 more (GitHub advisory GHSA-x9vc-6hfv-hg8c). Severity: High (8.1, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:08 UTC
Affected
Npgsql from 8.0.0 before 8.0.3, Npgsql before 4.0.14, Npgsql from 4.1.0 before 4.1.13 and 3 more
GitHub advisory GHSA-x9vc-6hfv-hg8c
Fixed in
8.0.3, 4.0.14, 4.1.13, 5.0.18 and 2 more
GitHub advisory GHSA-x9vc-6hfv-hg8c
Severity
High 8.1
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
1.72% in 30 days
higher than 78% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-32655?

Npgsql Vulnerable to SQL Injection via Protocol Message Size Overflow

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.

From the CVE record by GitHub_M, last updated December 12, 2024, 20:56 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
npgsqlnpgsql>= 4.0.0, < 4.0.14
>= 4.1.0, < 4.1.13
>= 5.0.0, < 5.0.18
>= 6.0.0, < 6.0.11
>= 7.0.0, < 7.0.7
>= 8.0.0, < 8.0.3

As the CVE record by GitHub_M states it, last updated December 12, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
NuGetNpgsql>= 8.0.0, < 8.0.38.0.3GHSA-x9vc-6hfv-hg8c
NuGetNpgsql< 4.0.144.0.14GHSA-x9vc-6hfv-hg8c
NuGetNpgsql>= 4.1.0, < 4.1.134.1.13GHSA-x9vc-6hfv-hg8c
NuGetNpgsql>= 5.0.0, < 5.0.185.0.18GHSA-x9vc-6hfv-hg8c
NuGetNpgsql>= 6.0.0, < 6.0.116.0.11GHSA-x9vc-6hfv-hg8c
NuGetNpgsql>= 7.0.0, < 7.0.77.0.7GHSA-x9vc-6hfv-hg8c

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 12, 2024. Summary: Npgsql vulnerable to SQL Injection via Protocol Message Size Overflow.

How severe is CVE-2024-32655?

ScoreVersionVectorSource
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-32655 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: total (CISA ADP, May 9, 2024)
EPSS
1.72% probability of exploitation activity in the next 30 days, percentile 78.1 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 16, 2024
Published
May 9, 2024, 14:29 UTC
CVE record updated
December 12, 2024, 20:56 UTC by GitHub_M
NVD
Deferred, last modified June 17, 2026, 07:30 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Questions about CVE-2024-32655

Is CVE-2024-32655 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.72% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of npgsql are affected by CVE-2024-32655?

Npgsql from 8.0.0 before 8.0.3, Npgsql before 4.0.14, Npgsql from 4.1.0 before 4.1.13, Npgsql from 5.0.0 before 5.0.18, Npgsql from 6.0.0 before 6.0.11 and Npgsql from 7.0.0 before 7.0.7, per the GitHub advisory GHSA-x9vc-6hfv-hg8c. The tables above give every range the sources list.

Which version fixes CVE-2024-32655?

8.0.3, 4.0.14, 4.1.13, 5.0.18, 6.0.11 and 7.0.7, per the GitHub advisory GHSA-x9vc-6hfv-hg8c. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-32655?

High (8.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2024-32655?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.