GHSA-jqcq-xjh3-6g23

Denial of service in github.com/jackc/pgproto3/v2

At a glance

Published
Updated
CVE
CVE-2026-32286
Aliases
GO-2026-4518
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

PackageVersions
Go · github.com/jackc/pgproto3/v2introduced 2.0.0, last affected 2.3.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database