CVE-2026-32286: Denial of service in github.com/jackc/pgproto3/v2
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.
Published Mar 18, 2026 · Updated Mar 30, 2026
Affected packages
github.com/jackc/pgproto3/v2
- Ecosystem
- Go
- Affected
- >= 2.0.0, <= 2.3.3
- Fixed in
- No patched version yet
- Check
go list -m github.com/jackc/pgproto3/v2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/golang/vulndb/issues/4518
- https://github.com/jackc/pgx/issues/2507
- https://securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx
- https://nvd.nist.gov/vuln/detail/CVE-2026-32286
- https://pkg.go.dev/vuln/GO-2026-4518
- https://bugzilla.redhat.com/show_bug.cgi?id=2448626
- https://github.com/advisories/GHSA-jqcq-xjh3-6g23
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
