Skip to main content
EPSS 0.6%top 55%

CVE-2026-33816: CWE-697 — Incorrect Comparison in github.com/jackc/pgx/v5 github.com/jackc/pgx/v5/pgproto3

0
Critical
VulnerabilityCVE-2026-33816cvecve-2026-33816cwe-697
Published: 04/07/2026 (04/07/2026, 15:19:24 UTC)
Source: CVE Database V5
Vendor/Project: github.com/jackc/pgx/v5
Product: github.com/jackc/pgx/v5/pgproto3

Description

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

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

github.com/jackc/pgx/v5

github.com/jackc/pgx/v5/pgproto3

Affected versions
>=0 <5.9.0
github.com/jackc/pgx/v5
pkg:golang/github.com/jackc/pgx/v5
Affected versions
=0
github.com/jackc/pgx/v5/pgproto3
pkg:golang/github.com/jackc/pgx/v5/pgproto3
Affected versions
>=0 <5.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 14:22:32 UTC

Technical Analysis

The vulnerability CVE-2026-33816 in github.com/jackc/pgx/v5/pgproto3 is a memory-safety issue classified under CWE-697 (Incorrect Comparison) and CWE-787 (Out-of-bounds Write). It allows an attacker to cause memory corruption through improper write operations, which can lead to denial of service or potentially arbitrary code execution by modifying control data such as return addresses. The vulnerability is remotely exploitable over the network without requiring privileges or user interaction. Red Hat's advisory confirms the severity and impact but notes that no suitable mitigation or patch currently meets their standards for widespread deployment. The vulnerability affects version 0 of the software as stated, with no further version details provided.

Potential Impact

Successful exploitation of this vulnerability can lead to high confidentiality, integrity, and availability impacts, including denial of service and arbitrary code execution. Memory corruption caused by out-of-bounds writes can crash the application or allow execution of unauthorized code, potentially compromising the affected system. The CVSS score of 9.8 reflects the critical nature of this vulnerability with network attack vector, low complexity, no privileges required, and no user interaction needed.

Mitigation Recommendations

According to the Red Hat advisory, no mitigation is currently available or meets their criteria for ease of use, deployment, applicability, or stability. Users are advised to monitor vendor communications for updates. Applying a fix or upgrade is recommended once an official patch is released. Customers with Red Hat Technical Account Managers can seek direct guidance. Until a fix is available, cautious use and limiting exposure of the affected component may reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-03-23T20:35:32.814Z
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-33816","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17789","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19137","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26636","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22423","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24503","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24539","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25273","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13829","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:11070","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:11217","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13791","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13907","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26519","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24479","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24475","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24482","vendor":"Red Hat"}]

Threat ID: 69d52a46aaed68159a30f89b

Added to database: 04/07/2026, 16:01:10 UTC

Last enriched: 08/15/2026, 14:22:32 UTC

Last updated: 09/14/2026, 10:01:30 UTC

Views: 215

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses