Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to PostgreSQL server
-
ExploitSend DataRow message with negative field length
-
ExecutionTrigger slice bounds out of range panic
-
ImpactCrash 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (Go).
CVSS VectorVendor: Go
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
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
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
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
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
Same weakness CWE-129 – Improper Validation of Array Index
View allSame technique Information Disclosure
View allVendor 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 |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-16347
GHSA-jqcq-xjh3-6g23
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB