VDB

CVE-2026-2004

CVE-2026-2004 PUBLISHED CVSS 8.8 HIGH

Reported by postgresql · Published February 12, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresql-staticerrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.s390x, 0:16.13-1.module+el9.7.0+40102+9b5cec96.aarch64, 0:16.13-1.el10_1.aarch64, 0:15.17-1.module+el9.7.0+40097+c6c51561.s390x, 0:15.17-1.module+el9.7.0+40097+c6c51561.aarch64, 0:13.23-2.el9_7.s390x, 0:13.23-2.el9_7.aarch64
postgresql-private-libserrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.aarch64, 0:16.13-1.el10_1.s390x, 0:16.13-1.el10_1.aarch64, 0:15.17-1.module+el9.7.0+40097+c6c51561.aarch64, 0:13.23-2.el9_7.aarch64
postgresql-upgrade-devel-debuginfoerrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.ppc64le, 0:16.13-1.el10_1.x86_64, 0:16.13-1.el10_1.s390x, 0:15.17-1.module+el9.7.0+40097+c6c51561.ppc64le, 0:13.23-2.el9_7.ppc64le
postgresql-test-rpm-macroserrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.noarch, 0:16.13-1.module+el8.10.0+40101+1be82829.noarch, 0:16.13-1.el10_1.noarch, 0:15.17-1.module+el9.7.0+40097+c6c51561.noarch, 0:15.17-1.module+el8.10.0+40100+bfc24177.noarch, 0:13.23-2.module+el8.10.0+40099+4f03416d.noarch, 0:13.23-2.el9_7.noarch, 0:12.22-6.module+el8.10.0+40098+2ca729e4.noarch
postgresql-contriberrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.ppc64le, 0:16.13-1.el10_1.s390x, 0:15.17-1.module+el9.7.0+40097+c6c51561.ppc64le, 0:13.23-2.el9_7.ppc64le
postgresql18-staticerrata.rockylinux.org18.3-1.el10.aarch64
postgresql-plpython3errata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.ppc64le, 0:16.13-1.el10_1.s390x, 0:16.13-1.el10_1.ppc64le, 0:15.17-1.module+el9.7.0+40097+c6c51561.ppc64le, 0:13.23-2.el9_7.ppc64le
postgresql16-pltclAmazon Linux16.12-1.amzn2023.0.1
postgis-upgradeerrata.rockylinux.org0:3.5.3-3.module+el9.7.0+40012+a654bbaa.x86_64, 0:3.5.3-3.module+el9.7.0+40012+a654bbaa.ppc64le, 0:3.5.3-3.module+el9.7.0+40012+a654bbaa.aarch64
pg_repack-debuginfoerrata.rockylinux.org0:1.5.1-1.module+el9.7.0+40060+39463e08.ppc64le, 0:1.5.1-1.module+el9.7.0+40012+a654bbaa.ppc64le, 0:1.4.8-2.module+el9.7.0+40011+28af63c9.ppc64le
postgresql-pltcl-debuginfoerrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.x86_64, 0:16.13-1.module+el9.7.0+40102+9b5cec96.ppc64le, 0:16.13-1.el10_1.ppc64le, 0:15.17-1.module+el9.7.0+40097+c6c51561.x86_64, 0:15.17-1.module+el9.7.0+40097+c6c51561.ppc64le, 0:13.23-2.el9_7.x86_64, 0:13.23-2.el9_7.ppc64le
postgresql15Amazon Linux15.16-1.amzn2023.0.1

48 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/aPostgreSQL18, 17, 16
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On8040020260305144728.522a0ee4
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service8060020260306113941.ad008a3a
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions9020020260309133405.rhel9
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support8060020260306113941.ad008a3a
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020260306101701.522a0ee4
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support0:16.13-1.el10_0
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support8060020260309111524.ad008a3a
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions8060020260309111524.ad008a3a
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:13.23-1.el9_0.1
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:13.23-1.el9_2.1
Red HatRed Hat Enterprise Linux 88100020260227221316.489197e6
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:13.23-1.el9_4.1
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service8060020260309111524.ad008a3a
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support8020020260309120440.4cda2c84
Red HatRed Hat Enterprise Linux 88100020260302082007.489197e6
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions8080020260306092921.63b34585
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support9060020260305153549.rhel9

…and 22 more

Timeline

  • Feb 12, 2026 CVE Published
  • Feb 12, 2026 PoC Published (8 in total, the first dated here)
  • Feb 13, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 25, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (41 in total, the first dated here)
  • Apr 7, 2026 Security Advisory (38 in total, the first dated here)
  • Jul 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-2004
vulnetix vdb fixes CVE-2026-2004

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-2004/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›