Improper Validation of Specified Index, Position, or Offset in Input Affecting postgresql:12/postgresql-test-rpm-macros package, versions <0:12.22-1.module+el8.8.0+24047+e7ffc146.3


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (23rd 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-POSTGRESQL-15519143
  • published13 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 RHEL:8 postgresql:12/postgresql-test-rpm-macros to version 0:12.22-1.module+el8.8.0+24047+e7ffc146.3 or higher.
This issue was patched in RHSA-2026:4075.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:12/postgresql-test-rpm-macros package and not the postgresql:12/postgresql-test-rpm-macros package as distributed by RHEL. See How to fix? for RHEL:8 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