CVE-2026-32286: Denial of service in github.com/jackc/pgproto3/v2

Published Mar 18, 2026
·
Updated

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 Software

3 affected components
golang/github.com/jackc/pgproto3/v2
go/github.com/jackc/pgproto3/v2>=2.0.0<=2.3.3
jackc Pgproto3 Go>=2.0.0<=2.3.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Restrict which PostgreSQL servers clients may connect to. Use firewall rules, ACLs, or network segmentation to ensure client applications only connect to trusted, internal database hosts and cannot reach untrusted or public PostgreSQL servers.

  2. Compensating control

    Enforce strong server authentication (TLS with strict certificate validation and/or mutual TLS) so clients verify the identity of the PostgreSQL server before accepting DataRow messages from it.

Event History

Mar 18, 2026
Advisory Published
via GitHub·01:00 PM
Data Sourced
via GitHub·01:00 PM
DescriptionSeverityWeaknessAffected Software
Mar 26, 2026
CVE Published
via MITRE·07:40 PM
Data Sourced
via MITRE·07:40 PM
DescriptionWeakness
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-32286?

CVE-2026-32286 is classified as a denial of service vulnerability.

2

How do I fix CVE-2026-32286?

To fix CVE-2026-32286, update the golang/github.com/jackc/pgproto3/v2 package to the latest version that addresses this issue.

3

What causes CVE-2026-32286?

CVE-2026-32286 is caused by the DataRow.Decode function failing to properly validate negative field lengths from a PostgreSQL server.

4

Who is affected by CVE-2026-32286?

CVE-2026-32286 affects applications using the golang/github.com/jackc/pgproto3/v2 package that interact with PostgreSQL servers.

5

Can CVE-2026-32286 allow remote attackers to crash services?

Yes, CVE-2026-32286 can allow remote attackers to cause a service to crash by sending a specially crafted DataRow message.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203