Skip to main content

PostgreSQL CVE-2026-32286

| EUVDEUVD-2026-16347 HIGH
Improper Validation of Array Index (CWE-129)
2026-03-26 Go GHSA-jqcq-xjh3-6g23
7.5
CVSS 3.1 · Vendor: Go
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to PostgreSQL server
  2. Exploit
    Send DataRow message with negative field length
  3. Execution
    Trigger slice bounds out of range panic
  4. Impact
    Crash database client application

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Attacker must control or compromise the PostgreSQL server that the application connects to. The vulnerable application must use a PostgreSQL client library with the affected DataRow.Decode function (likely Go pq driver or similar). Remote unauthenticated exploitation requires prior server compromise.

Impact

The risk profile is moderate to low in practice despite the panic outcome. CVSS and EPSS scores are not available from the provided data, preventing quantitative severity assessment. The attack vector is network-based but requires the victim application to establish a connection to an attacker-controlled or compromised PostgreSQL server-this is not a remote unauthenticated attack against a publicly exposed service, but rather a server-side attack targeting client applications. The technical impact is denial of service (application crash), not data exfiltration or code execution. Exploitation is deterministic (not complex) once a connection is established: sending a malformed DataRow message will reliably trigger the panic. The lack of publicly available exploit code and no KEV status suggests this is not actively exploited in the wild. Risk is elevated primarily for applications that connect to untrusted or externally-supplied PostgreSQL instances; applications connecting only to trusted, internally-managed databases face minimal practical risk.

Exploit ScenarioDerived

An attacker who controls a PostgreSQL server instance or compromises one that a Go application connects to can craft a malicious DataRow message with a negative field length value. When the vulnerable application queries the database, the server responds with this malformed message, causing the DataRow.Decode function to panic and terminate the application process. This results in denial of service for the application. The attack is straightforward to execute-no complex steps required-once network access to the application's database connection path is established, but it is limited to scenarios where the attacker has server-side influence or network position.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 26, 2026

DataRow.Decode in github.com/jackc/pgproto3/v2 fails to validate field length parameters, allowing a malicious or compromised PostgreSQL server to send a DataRow message with a negative field length that triggers a slice bounds out of range panic in Go applications using this library. Affected applications experience denial of service through unexpected termination when connecting to an untrusted or compromised database server. No public exploit code or active exploitation has been confirmed; however, the attack requires only network access to a PostgreSQL endpoint that the vulnerable application connects to.

RemediationAI

Upgrade github.com/jackc/pgproto3/v2 to the patched version as indicated by EUVD patch identifier 0 or pull the latest version from the pgx repository (https://github.com/jackc/pgx). Until patching is possible, restrict application database connections to trusted, internally-managed PostgreSQL servers and implement network segmentation to prevent applications from connecting to untrusted database endpoints. If applications must connect to potentially untrusted PostgreSQL servers, consider running them in sandboxed environments or containers with restricted resource access to limit the impact of denial-of-service crashes. Monitor application logs for panic errors related to DataRow decoding.

Affected VersionsENISA

github.com/jackc/pgproto3/v2 patch: 0

Affected Packages

go github.com/jackc/pgproto3/v2 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The pgproto3/v2 library (github.com/jackc/pgproto3/v2) is a Go PostgreSQL protocol parser that implements the PostgreSQL wire protocol version 3. The DataRow.Decode function is responsible for parsing DataRow messages sent by PostgreSQL servers in response to query execution. DataRow messages contain field count and field length values that DataRow.Decode processes to extract column data. The vulnerability stems from insufficient input validation: the function does not verify that field length values are non-negative before using them to slice Go byte arrays. When a malicious server sends a negative field length, the function attempts to create a slice with an out-of-bounds index, causing Go's runtime to panic with a bounds check failure. This is fundamentally an input validation defect (CWE-20) specific to handling untrusted wire protocol data.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Go) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (Go).

CVSS VectorVendor: Go

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 Fixed

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy