ADVISORIES

Go Vulnerability Database

GO-2026-4518

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

Details

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

EcosystemPackageAffected versions
Gogithub.com/jackc/pgproto3/v2
From 2.0.0, no fix listed

References