GHSA-jqcq-xjh3-6g23
Denial of service in github.com/jackc/pgproto3/v2
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/jackc/pgproto3/v2 | >= 2.0.0, <= 2.3.3 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- 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