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

30 Jun 2026, 03:18

Type Values Removed Values Added
CWE CWE-1285
References
  • () https://access.redhat.com/errata/RHSA-2026:11070 -
  • () https://access.redhat.com/errata/RHSA-2026:11217 -
  • () https://access.redhat.com/errata/RHSA-2026:11856 -
  • () https://access.redhat.com/errata/RHSA-2026:11916 -
  • () https://access.redhat.com/errata/RHSA-2026:11996 -
  • () https://access.redhat.com/errata/RHSA-2026:19375 -
  • () https://access.redhat.com/errata/RHSA-2026:21017 -
  • () https://access.redhat.com/errata/RHSA-2026:21769 -
  • () https://access.redhat.com/errata/RHSA-2026:22347 -
  • () https://access.redhat.com/errata/RHSA-2026:22423 -
  • () https://access.redhat.com/errata/RHSA-2026:22450 -
  • () https://access.redhat.com/errata/RHSA-2026:22465 -
  • () https://access.redhat.com/errata/RHSA-2026:22714 -
  • () https://access.redhat.com/errata/RHSA-2026:23345 -
  • () https://access.redhat.com/errata/RHSA-2026:24853 -
  • () https://access.redhat.com/security/cve/CVE-2026-32286 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2451847 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32286.json -

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-07-27 13:17


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

CWE-1285

Improper Validation of Specified Index, Position, or Offset in Input