GitHub Advisory Database
GHSA-jqcq-xjh3-6g23
Denial of service in github.com/jackc/pgproto3/v2
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/jackc/pgproto3/v2 | From 2.0.0 up to and including 2.3.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-32286
- https://github.com/golang/vulndb/issues/4518
- https://github.com/jackc/pgx/issues/2507
- https://bugzilla.redhat.com/show_bug.cgi?id=2448626
- https://github.com/jackc/pgproto3
- https://pkg.go.dev/vuln/GO-2026-4518
- https://securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx