Skip to main content

Github Com Jackc Pgx V5 Pgproto3 CVE-2026-33816

| EUVDEUVD-2026-19709 CRITICAL
Out-of-bounds Write (CWE-787)
2026-04-07 Go GHSA-9jj7-4m8r-rfcm
9.8
CVSS 3.1 · Vendor: Go
View

Attack ChainAIDerived

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

  1. Access
    Send crafted SQL query to pgx application
  2. Exploit
    Trigger memory corruption in query parser
  3. Impact
    Achieve arbitrary code execution with application privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote unauthenticated attacker can exploit this vulnerability in pgx/v5 (PostgreSQL driver for Go) by sending crafted database protocol messages to applications using vulnerable versions. No special configuration required — affects default deployments connecting to PostgreSQL servers.

Impact

Critical memory-safety flaw in pgx PostgreSQL driver enables unauthenticated remote code execution with maximum CVSS impact (9.8). Network-exploitable with no authentication required. However, low observed exploitation activity (0.03% EPSS) suggests limited real-world adoption despite severity. Organizations using pgx/v5 directly face severe risk; prioritize immediate patching.

Exploit ScenarioDerived

Attacker crafts malformed PostgreSQL protocol message over network connection to pgx/v5 application. Memory corruption in pgproto3 parsing triggers code execution. No authentication needed; attack succeeds on first contact with vulnerable service.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – Apr 07, 2026

Memory-safety vulnerability in github.com/jackc/pgx/v5 PostgreSQL driver library allows unauthenticated remote attackers to achieve complete system compromise with high confidentiality, integrity, and availability impact. The vulnerability resides in the pgproto3 subpackage and enables network-accessible exploitation without user interaction. Attack complexity is low, requiring no special privileges. Information disclosure confirmed via source tagging. No public exploit identified at time of analysis.

RemediationAI

Upstream fix available via Go vulnerability database (https://pkg.go.dev/vuln/GO-2026-4772); released patched version not independently confirmed at time of analysis. Consult official Go advisory for exact fixed version and update github.com/jackc/pgx/v5 dependency immediately using 'go get -u' or module version pinning. If patched release unavailable, temporarily remove pgx v5 dependency or isolate affected services from untrusted networks until vendor confirmation. Monitor https://nvd.nist.gov/vuln/detail/CVE-2026-33816 for patch release announcements. EPSS score indicates low observed exploitation activity currently.

Affected Packages

go github.com/jackc/pgx/v5 fix: 5.9.0

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

Memory-safety flaw in pgproto3 protocol implementation component of pgx v5 PostgreSQL driver. Root cause mechanism involves unsafe memory operations during protocol message handling. Network-reachable attack vector (AV:N) with low complexity suggests exploitable condition in packet parsing or buffer management routines.

Know when Github Com Jackc Pgx V5 Pgproto3 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 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL
Red Hat 8.3 HIGH

Primary rating from Vendor (Go).

CVSS VectorVendor: Go

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

DescriptionCVE.org

Memory-safety vulnerability in github.com/jackc/pgx/v5.

Executive ViewAI

Why It Matters

CVE-2026-33816 is a critical memory-safety flaw in the PostgreSQL driver library pgx/v5 that allows unauthenticated remote attackers to compromise systems through direct network access with no interaction required. Any application using this driver to connect to PostgreSQL databases is exposed to complete system compromise affecting confidentiality, integrity, and availability. Immediate inventory and isolation of affected applications is essential to prevent exploitation.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to PostgreSQL database connections to only trusted internal networks using firewall rules and security groups; (2) Disable or isolate pgx/v5-dependent services until patch is available; (3) Implement runtime application monitoring and anomaly detection for database connection behavior; (4) Consider temporary migration to alternative database drivers if operationally feasible. These controls reduce but do not eliminate risk.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Affected Products (CPE)CVE.org

cpe:2.3:a:github.com/jackc/pgx/v5:github.com/jackc/pgx/v5/pgproto3:*:*:*:*:*:*:*:*

Related Vulnerabilities in pgx Memory-safety Vulnerabilities

View all 2

Vendor StatusVendor

SUSE

Severity: Critical
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 Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed

References

Advisories & patches

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