CVE-2026-2004 Affecting postgresql:12/postgresql-contrib package, versions <0:12.22-6.module_el8.10.0+4123+1638d348


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.06% (19th 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-ALMALINUX8-POSTGRESQL-15467571
  • published12 Mar 2026
  • disclosed4 Mar 2026

Introduced: 4 Mar 2026

CVE-2026-2004  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 postgresql:12/postgresql-contrib to version 0:12.22-6.module_el8.10.0+4123+1638d348 or higher.
This issue was patched in ALSA-2026:4064.

NVD Description

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

Missing validation of type of input in PostgreSQL intarray extension selectivity estimator function allows an object creator 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