Uncaught Exception Affecting postgres-protocol package, versions <0.6.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-POSTGRESPROTOCOL-17660650
  • published27 Jun 2026
  • disclosed12 Jun 2026
  • creditUnknown

Introduced: 12 Jun 2026

New CVE NOT AVAILABLE CWE-248  (opens in a new tab)

How to fix?

Upgrade postgres-protocol to version 0.6.12 or higher.

Overview

Affected versions of this package are vulnerable to Uncaught Exception via the postgres_protocol::types::hstore_from_sql function. An attacker can cause the client to panic and terminate unexpectedly by sending a specially crafted binary hstore value with an invalid internal length field from a malicious or compromised server. This is only exploitable if the client connects to untrusted or user-supplied servers, or if the connection can be intercepted by a man-in-the-middle.

CVSS Base Scores

version 4.0
version 3.1