Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| github.com/jackc/pgproto3/v2 / github.com/jackc/pgproto3/v2 | unaffected 0 before 2.0.0 |
CWE
No CWE identifiers supplied.
References
- https://github.com/advisories/GHSA-jqcq-xjh3-6g23
- https://github.com/jackc/pgx/issues/2507
- https://github.com/golang/vulndb/issues/4518
- https://pkg.go.dev/vuln/GO-2026-4518
ADP enrichment
No English description supplied.
A flaw was found in the DataRow.Decode function within the github.com/jackc/pgproto3/v2 component. A malicious or compromised PostgreSQL server can exploit this by sending a DataRow message containing a negative field length. This improper validation of field lengths leads to a "slice bounds out of range panic", resulting in a Denial of Service (DoS) for the affected application.
- 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
- https://access.redhat.com/errata/RHSA-2026:22450
- https://access.redhat.com/errata/RHSA-2026:22714
- https://access.redhat.com/errata/RHSA-2026:22423
- https://access.redhat.com/errata/RHSA-2026:22347
- https://access.redhat.com/errata/RHSA-2026:23345
- https://access.redhat.com/errata/RHSA-2026:11070
- https://access.redhat.com/errata/RHSA-2026:11217
- https://access.redhat.com/errata/RHSA-2026:11916
- https://access.redhat.com/errata/RHSA-2026:11856
- https://access.redhat.com/errata/RHSA-2026:21017
- https://access.redhat.com/errata/RHSA-2026:24853
- https://access.redhat.com/errata/RHSA-2026:19375
- https://access.redhat.com/errata/RHSA-2026:22465
- https://access.redhat.com/errata/RHSA-2026:11996
- https://access.redhat.com/errata/RHSA-2026:21769