Improper Validation of Specified Index, Position, or Offset in Input Affecting pg_repack package, versions <0:1.4.8-2.module+el9.5.0+22224+f5585c78


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.03% (10th 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-CENTOS9-PGREPACK-15602963
  • published15 Mar 2026
  • disclosed12 Feb 2026

Introduced: 12 Feb 2026

CVE-2026-2006  (opens in a new tab)
CWE-1285  (opens in a new tab)

How to fix?

Upgrade Centos:9 pg_repack to version 0:1.4.8-2.module+el9.5.0+22224+f5585c78 or higher.

NVD Description

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

Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

CVSS Base Scores

version 3.1