CVE-2026-32286: Denial of service in github.com/jackc/pgproto3/v2
(updated )
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
- github.com/advisories/GHSA-jqcq-xjh3-6g23
- github.com/golang/vulndb/issues/4518
- github.com/jackc/pgproto3
- github.com/jackc/pgx/issues/2507
- nvd.nist.gov/vuln/detail/CVE-2026-32286
- pkg.go.dev/vuln/GO-2026-4518
- securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx
Code Behaviors & Features
Detect and mitigate CVE-2026-32286 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 →