Integer Overflow or Wraparound Affecting libpq package, versions <0:13.23-2.el8_10


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.67% (48th 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-RHEL8-LIBPQ-17157785
  • published4 Jun 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

CVE-2026-6473  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:8 libpq to version 0:13.23-2.el8_10 or higher.
This issue was patched in RHSA-2026:27738.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpq package and not the libpq package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running the database. In applications that pass gigabyte-scale user inputs to the relevant database functions, the application input provider may achieve a segmentation fault. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

CVSS Base Scores

version 3.1