CVE-2026-6460 Affecting postgresql-test-rpm-macros package, versions <0:18.7-1.module+el9.9.0+40509+3a153c5a


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.64% (52nd 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-ROCKY9-POSTGRESQLTESTRPMMACROS-23184346
  • published1 Dec 2026
  • disclosed12 Nov 2026

Introduced: 12 Nov 2026

NewCVE-2026-6460  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 postgresql-test-rpm-macros to version 0:18.7-1.module+el9.9.0+40509+3a153c5a or higher.
This issue was patched in RLSA-2026:104854.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-test-rpm-macros package and not the postgresql-test-rpm-macros package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as "ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN". The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system. PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

CVSS Base Scores

version 3.1