Incorrect Comparison Affecting github.com/jackc/pgx/v5/pgproto3 package, versions <5.9.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.56% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMJACKCPGXV5PGPROTO3-15923570
  • published7 Apr 2026
  • disclosed7 Apr 2026
  • creditUnknown

Introduced: 7 Apr 2026

CVE-2026-33816  (opens in a new tab)
CWE-697  (opens in a new tab)

How to fix?

Upgrade github.com/jackc/pgx/v5/pgproto3 to version 5.9.0 or higher.

Overview

github.com/jackc/pgx/v5/pgproto3 is a low-level PostgreSQL database driver

Affected versions of this package are vulnerable to Incorrect Comparison in the FunctionCall.Decode() function. An attacker can cause a crash on 64-bit machine by sending a null argument in a FunctionCall response from PostgreSQL server since the intermediate int32() cast is absent in Decode() function.

CVSS Base Scores

version 4.0
version 3.1