Approved changes feed: RSS · Atom

cpe:2.3:a:jackc:pgx:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorJackc (faeee8b6-45c1-594d-af71-1c1276aba619)
ProductPgx (512bc4e9-7638-51f1-be21-efa710a6fa47)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/jackc/pgx purl2cpe 2026-06-01 10:18:12.891269
pkg:golang/github.com/jackc/pgx purl2cpe 2026-06-01 10:18:12.891272

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-41889 vulnerable 2026-06-08 08:03:15.731467 pgx: SQL Injection via placeholder confusion with dollar quoted string literals
pgx 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 quoted string literal is used in the SQL query, that string literal contains text that would be would be interpreted as a placeholder outside of a string literal, and the value of that placeholder is controllable by the attacker. This issue has been patched in version 5.9.2.
Published: 2026-05-08T15:53:00.251Z
Updated: 2026-05-08T19:38:34.153Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-27304 vulnerable 2026-06-08 06:31:28.476563 pgx SQL Injection via Protocol Message Size Overflow
CRITICAL (9.8)
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.
Published: 2024-03-06T19:07:08.491Z
Updated: 2024-12-12T20:52:24.821Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-27289 vulnerable 2026-06-08 06:31:28.425898 pgx SQL Injection via Line Comment Creation
HIGH (8.1)
pgx 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-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.
Published: 2024-03-06T18:28:12.291Z
Updated: 2025-06-12T15:45:56.361Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.