CVE-2026-2004Postgresql
High 8.8
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 12, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1287
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Postgresql.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | ≥ 14.0 < 14.21 |
| postgresql | postgresql | ≥ 15.0 < 15.16 |
| postgresql | postgresql | ≥ 16.0 < 16.12 |
| postgresql | postgresql | ≥ 17.0 < 17.8 |
| postgresql | postgresql | ≥ 18.0 < 18.2 |
Official advisories
- Red Hat Security Advisory: postgresql18 security update · Red Hat · RHSA-2026:19009 · May 20, 2026 High
- Red Hat Security Advisory: postgresql16 security update · Red Hat · RHSA-2026:19010 · May 20, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:8756 · Apr 21, 2026 High
- Security update for postgresql16 · SUSE · openSUSE-SU-2026:20447-1 · Mar 30, 2026 High
- Security update for postgresql16 · SUSE · SUSE-SU-2026:20983-1 · Mar 30, 2026 High
- Security update for postgresql18 · SUSE · SUSE-SU-2026:20921-1 · Mar 20, 2026 High
Also: SUSE (+26), Red Hat (+26)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.postgresql.org Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com