pgproto3: Negative field length panics in DataRow.Decode
High severity
GitHub Reviewed
Published
Mar 19, 2026
to the GitHub Advisory Database
•
Updated Mar 19, 2026
Description
Published by the National Vulnerability Database
Mar 19, 2026
Published to the GitHub Advisory Database
Mar 19, 2026
Reviewed
Mar 19, 2026
Last updated
Mar 19, 2026
A flaw was found in pgproto3. A malicious or compromised PostgreSQL server can exploit this by sending a DataRow message with a negative field length. This input validation vulnerability can lead to a denial of service (DoS) due to a slice bounds out of range panic.
References