CVE-2026-4427: Duplicate Advisory: pgproto3: Negative field length panics in DataRow.Decode
This advisory was withdrawn on Mar 30, 2026. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-jqcq-xjh3-6g23. This link is maintained to preserve external references. Original Description A flaw was found in pgproto3. A malicious or compromised PostgreSQL server can exploit this by sending a DataRow message with a negative field length.
Published Mar 19, 2026 · Updated Mar 30, 2026
Affected packages
github.com/jackc/pgproto3/v2
- Ecosystem
- Go
- Affected
- <= 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).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-jqcq-xjh3-6g23. This link is maintained to preserve external references.
Original Description
A flaw was found in pgproto3. A malicious or compromised PostgreSQL server can exploit this by sending a DataRow message with a negative field length. This input validation vulnerability can lead to a denial of service (DoS) due to a slice bounds out of range panic.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-4427
- https://github.com/golang/vulndb/issues/4518
- https://github.com/jackc/pgx/issues/2507
- https://access.redhat.com/security/cve/CVE-2026-4427
- https://bugzilla.redhat.com/show_bug.cgi?id=2448626
- https://github.com/jackc/pgproto3
- https://securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx
- https://github.com/advisories/GHSA-x6gf-mpr2-68h6
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
