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.
Affected products
jackc: pgproto3
References10
- pkg.go.dev/vuln/GO-2026-4518 PatchThird Party Advisory
- github.com/advisories/GHSA-jqcq-xjh3-6g23 Third Party Advisory
- github.com/golang/vulndb/issues/4518 Issue Tracking
- github.com/jackc/pgx/issues/2507 Issue Tracking
- access.redhat.com/errata/RHSA-2026:11070
- access.redhat.com/errata/RHSA-2026:11217
- access.redhat.com/errata/RHSA-2026:11856
- access.redhat.com/errata/RHSA-2026:11916
- access.redhat.com/errata/RHSA-2026:11996
- access.redhat.com/errata/RHSA-2026:19375
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 53 · as of 12 November 2026
- CWE
- CWE-129CWE-1285
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.