jackc/pgproto3 · Security
Denial of service in github.com/jackc/pgproto3/v2
- GHSA ID
- GHSA-jqcq-xjh3-6g23
- CVE ID
- CVE-2026-32286
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-129 · Improper Validation of Array Index
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 ↗