Buffer Overflow Affecting postgresql:12/postgresql-pltcl package, versions <0:12.22-1.module+el8.6.0+24433+21669af6.4


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.38% (30th 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-17980857
  • published15 Jul 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

CVE-2026-6637  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade RHEL:8 postgresql:12/postgresql-pltcl to version 0:12.22-1.module+el8.6.0+24433+21669af6.4 or higher.
This issue was patched in RHSA-2026:29815.

NVD Description

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

Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as the operating system user running the database. A distinct attack is possible if the application declares a user-controlled column as a "refint" cascade primary key and facilitates user-controlled updates to that column. In that case, a SQL injection allows a primary key update value provider to execute arbitrary SQL as the database user performing the primary key update. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

CVSS Base Scores

version 3.1