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 …
Historical advisory saved 2 Nov 2026 22:00:57 UTC. The publisher may have updated it since then. Latest advisory.
euvd · EUVD-2024-0972
Publishedpgx 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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Mar 6, 2024, 7:07:08 PM
dateUpdated: Dec 12, 2024, 8:52:24 PM
3 related source bulletins · separate from aliases
WID-SEC-W-2024-0626: Red Hat Enterprise Linux: Mehrere Schwachstellen ermöglichen Manipulation von Dateien
CVE-2024-27289 · CVE-2024-27304
msrc_CVE-2024-27304: pgx SQL Injection via Protocol Message Size Overflow
CVE-2024-27304
RHSA-2024:1321: Red Hat Security Advisory: ACS 4.3 enhancement and security update
CVE-2024-27289 · CVE-2024-27304
- Source published
- Mar 6, 2024, 7:07:08 PM (timezone not stated)
- Source modified
- Dec 12, 2024, 8:52:24 PM (timezone not stated)
- Saved here
- 2 Nov 2026 22:00:57 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H