Heap-based Buffer Overflow Affecting postgresql:12/postgresql-upgrade package, versions <0:12.22-10.module+el8.10.0+24893+321f112b


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.44% (37th 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-19404181
  • published28 Aug 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

CVE-2026-14664  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:8 postgresql:12/postgresql-upgrade to version 0:12.22-10.module+el8.10.0+24893+321f112b or higher.
This issue was patched in RHSA-2026:69924.

NVD Description

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

Heap buffer overflow in PostgreSQL regexp allows the query author to execute arbitrary code as the operating system user running the database, via text that would not pass encoding validation. This shares heritage with CVE-2026-2006, but this case involved unanticipated data growth when round-tripped through pg_wchar. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

CVSS Base Scores

version 3.1