CVE-2026-32286

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:jackc:pgproto3:*:*:*:*:*:go:*:*

History

03 Jun 2026, 14:28

Type Values Removed Values Added
References () https://github.com/advisories/GHSA-jqcq-xjh3-6g23 - () https://github.com/advisories/GHSA-jqcq-xjh3-6g23 - Third Party Advisory
References () https://github.com/golang/vulndb/issues/4518 - () https://github.com/golang/vulndb/issues/4518 - Issue Tracking
References () https://github.com/jackc/pgx/issues/2507 - () https://github.com/jackc/pgx/issues/2507 - Issue Tracking
References () https://pkg.go.dev/vuln/GO-2026-4518 - () https://pkg.go.dev/vuln/GO-2026-4518 - Patch, Third Party Advisory
References () https://securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx - () https://securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx - Mitigation, Third Party Advisory
CWE CWE-129
CPE cpe:2.3:a:jackc:pgproto3:*:*:*:*:*:go:*:*
First Time Jackc
Jackc pgproto3

02 Apr 2026, 20:16

Type Values Removed Values Added
References
  • () https://github.com/advisories/GHSA-jqcq-xjh3-6g23 -

30 Mar 2026, 15:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References
  • () https://securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx -

30 Mar 2026, 13:26

Type Values Removed Values Added
Summary
  • (es) La función DataRow.Decode no valida correctamente las longitudes de los campos. Un servidor PostgreSQL malicioso o comprometido puede enviar un mensaje DataRow con una longitud de campo negativa, causando un pánico de desbordamiento de límites de slice.

26 Mar 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-26 20:16

Updated : 2026-06-03 14:28


NVD link : CVE-2026-32286

Mitre link : CVE-2026-32286

CVE.ORG link : CVE-2026-32286


JSON object : View

Products Affected

jackc

  • pgproto3
CWE
CWE-129

Improper Validation of Array Index