Vulnerability advisory
GHSA-jqcq-xjh3-6g23
Denial of service in github.com/jackc/pgproto3/v2
Also known as CVE-2026-32286GO-2026-4518
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected versions
| Affected | Fixed in |
|---|---|
2.0.0 through 2.3.3 | No fix listed |
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-32286 ↗
- Webgithub.com/golang/vulndb/issues/4518 ↗
- Webgithub.com/jackc/pgx/issues/2507 ↗
- Webbugzilla.redhat.com/show_bug.cgi?id=2448626 ↗
- Packagegithub.com/jackc/pgproto3 ↗
- Webpkg.go.dev/vuln/GO-2026-4518 ↗
- Websecurityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx ↗