CVE-2026-32286
Jackc Pgproto3 2.0.0 – 2.3.3
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSummary
CVE-2026-32286 is a high-severity Improper Validation of Array Index (CWE-129) vulnerability in Jackc Pgproto3. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 48th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-32286 affects the DataRow.Decode function in Go-based PostgreSQL client libraries, such as pgx and pgproto3, which parse the PostgreSQL wire protocol. The vulnerability arises from improper validation of field lengths, allowing a malicious or compromised PostgreSQL server to send a DataRow message with a negative field length. This triggers a slice bounds out of range panic in the client application. Published on 2026-03-26, it has a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), indicating high availability impact.
Any remote unauthenticated attacker with network access who controls or compromises a PostgreSQL server can exploit this vulnerability. By crafting and sending a DataRow message with a negative field length during a client connection, the attacker causes an immediate panic in the vulnerable client library. This results in denial of service, as the client process crashes without impacting confidentiality or integrity.
Advisories detail mitigations in GHSA-jqcq-xjh3-6g23, golang/vulndb issue #4518, jackc/pgx issue #2507, and pkg.go.dev/vuln/GO-2026-4518. Security practitioners should update to patched versions of affected libraries like pgx. Further analysis of memory safety issues in Go PostgreSQL wire protocol parsers appears in securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-16347
Vulnerability Data
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V1.4.2V2.1.1V2.2.1V2.2.2
Mitigating Controls (NIST 800-53 r5) AI
Requires explicit validation of supplied indices/offsets/positions before they are used to access buffers or other indexable resources.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Secure SDLC practices directly require input validation and bounds checking that prevent improper array indexing.
Vulnerability identification processes can discover missing index validation via scanning or reviews.
Patching and replacement can remediate instances of the weakness after discovery.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Security testing in development can detect out-of-bounds array access but does not prevent the weakness by itself.
Secure development lifecycle mandates input validation and bounds checking that directly prevents improper array indexing.
Application security requirements include validation of untrusted input used for indexing or addressing memory structures.
Secure architecture principles encourage defensive coding patterns that reduce index-related vulnerabilities.
Secure coding standards explicitly require bounds checking and validation of array indices derived from untrusted data.