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.
Conclusion & alert: CVE-2026-2004 is rated Moderate Risk (41.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.06%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-21 | 0.05% | 0.06% | +0.01% |
| 2 | 2026-03-21 | 0.10% | 0.05% | -0.05% |
| 3 | 2026-02-13 | — | 0.10% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-2004: 5 source package rows (postgresql, postgresql15, postgresql16, postgresql17, postgresql18); 12 state rows across 7 repos (3.20-main, 3.21-main, 3.22-main, 3.23-community, 3.23-main, edge-community, edge-main); fixed 11, open 1. | https://security.alpinelinux.org/vuln/CVE-2026-2004 |
debian
|
not yet assigned | CVE-2026-2004 not yet assigned priority: Debian including 4 source packages (postgresql-13, postgresql-15, postgresql-17, postgresql-18), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2026-2004 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-2004 |
suse
|
high | CVE-2026-2004 severity important: SUSE including 346 source package names (2.2.1-5.40:grub2-2.12-slfo.1.1_2.1, 2.2.1-5.40:grub2-i386-pc-2.12-slfo.1.1_2.1, …), 1251 product×package rows across 73 product lines (Container suse/manager/5.0/x86_64/server, Container suse/manager/5.0/x86_64/server-migration-14-16, … (73 product lines)): Fixed 1204, First Fixed 47. | https://www.suse.com/security/cve/CVE-2026-2004/ |
ubuntu
|
medium | CVE-2026-2004 medium priority: Ubuntu including 8 source packages (postgresql-10, postgresql-12, …), 36 status rows across 8 suites (bionic, focal, jammy, noble, questing, trusty, upstream, xenial): DNE 21, needs-triage 7, ignored 4, released 3, deferred 1. | https://ubuntu.com/security/CVE-2026-2004 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| postgresql | postgresql | >= 14.0, < 14.21 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
| postgresql | postgresql | >= 15.0, < 15.16 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
| postgresql | postgresql | >= 16.0, < 16.12 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
| postgresql | postgresql | >= 17.0, < 17.8 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
| postgresql | postgresql | >= 18.0, < 18.2 | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://www.postgresql.org/support/security/CVE-2026-2004/ | Vendor Advisory |