jackc/pgproto3

jackc/pgproto3

Releases21
Frequency2 months 4 weeks
Last Release
Stars170

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
>= 2.0.0, <= 2.3.37.5 HIGH

The DataRow.Decode function fails to properly validate field lengths. A malicious or compromised PostgreSQL server can send a DataRow message with a negative field length, causing a slice bounds out of range panic.

Rejected reason: Duplicate of CVE-2026-32286

= *, < 2.3.39.8 CRITICAL

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.