GO-2026-4518
Denial of service in github.com/jackc/pgproto3/v2
At a glance
- Published
- Updated
- CVE
- CVE-2026-32286
- Aliases
- GHSA-jqcq-xjh3-6g23
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 packages
| Package | Versions |
|---|---|
| Go · github.com/jackc/pgproto3/v2 | introduced 2.0.0 |
References
- https://github.com/advisories/GHSA-jqcq-xjh3-6g23 ADVISORY
- https://github.com/jackc/pgx/issues/2507 REPORT
- https://github.com/golang/vulndb/issues/4518 REPORT
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |