CVE-2026-2004
postgresql: PostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 12, 2026
Updated · June 30, 2026
Description
A type validation flaw has been discovered in PostgreSQL. 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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-1287 · Improper Validation of Specified Type of Input