Uncontrolled Recursion Affecting libpq package, versions [14.2,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th 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 Learn

Learn about Uncontrolled Recursion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBPQ-16691585
  • published14 May 2026
  • disclosed14 May 2026
  • creditCalif.io

Introduced: 14 May 2026

NewCVE-2026-6479  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion through the SSL or GSS negotiation process. An attacker can cause the service to become unresponsive by triggering uncontrolled recursion when connecting to an AF_UNIX socket. If both SSL and GSS are disabled, the same effect can be achieved via access to a TCP socket.

Workaround

This vulnerability can be mitigated by enabling SSL and/or GSS, or by disabling unix_socket_directories.

CVSS Base Scores

version 4.0
version 3.1