CVE-2026-4427: Duplicate Advisory: pgproto3: Negative field length panics in DataRow.Decode
(updated )
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
- access.redhat.com/security/cve/CVE-2026-4427
- bugzilla.redhat.com/show_bug.cgi?id=2448626
- github.com/advisories/GHSA-x6gf-mpr2-68h6
- github.com/golang/vulndb/issues/4518
- github.com/jackc/pgproto3
- github.com/jackc/pgx/issues/2507
- nvd.nist.gov/vuln/detail/CVE-2026-4427
- securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx
Code Behaviors & Features
Detect and mitigate CVE-2026-4427 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →