← Vulnerability feed

Vulnerability record · CVE-2024-27304 · published 6 March 2024

CVE-2024-27304: Jackc pgproto3 sql injection vulnerability

Jackc · Pgproto3

pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

9.8 CVSS 3.1 Critical EPSS 1.1% · top 35.5% CWE-89 · SQL injectionCWE-190 · Integer overflow
9.8CVSS 3.1 base score
1.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
13References
17 Jun 2026Last modified by NVD

Description

pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-27304 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-33815Jackc pgx out-of-bounds write vulnerabilityMemory-safety vulnerability in github.com/jackc/pgx/v5.EPSS 0.86%9.8CVE-2026-33816Jackc pgx out-of-bounds write vulnerabilityMemory-safety vulnerability in github.com/jackc/pgx/v5.EPSS 0.86%8.1CVE-2024-27289Jackc pgx sql injection vulnerabilitypgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non…EPSS 0.85%7.5CVE-2026-32286Jackc pgproto3 vulnerabilityThe DataRow.Decode function fails to properly validate field lengths. A malicious or compromised PostgreSQL server can send a DataRow message with a …EPSS 0.92%2.3CVE-2026-41889Jackc pgx sql injection vulnerabilitypgx is a PostgreSQL driver and toolkit for Go. Prior to version 5.9.2, SQL injection can occur when the non-default simple protocol is used, a dollar…EPSS 0.49%9.8CVE-2026-76461Cisco AsyncOS email parsing SQL injection allows root command executionCisco AsyncOS Software for Cisco Secure Email Gateway fails to properly validate email parsing input, allowing crafted email messages containing mali…KEVEPSS 28%analysed9.3CVE-2026-9586Sangoma Switchvox unauthenticated SQL injection in /pa endpointSangoma Switchvox SMB Edition 8.3 (104997) fails to sanitize the PhoneIP value from XML content beginning with <PolycomIPPhone> before concatenating …KEVEPSS 19%analysed10.0CVE-2026-72898Metabase unauthenticated SQL injection in reset_password endpointMetabase exposes a database endpoint, '/reset_password', that fails to neutralize attacker-supplied SQL, allowing arbitrary SQL injection. Because th…KEVEPSS 19%analysed

Source: NIST National Vulnerability Database (record CVE-2024-27304), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.