CVE-2026-2004
HIGH 8.8CVSS 3.1Missing 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.
- Published
- 12 Feb 2026
- Last modified
- 15 Jul 2026
- Assigned by
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- NVD status
- Modified
- Weakness
- CWE-1287
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 14.0, < 14.21 | 14.21 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 15.0, < 15.16 | 15.16 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 16.0, < 16.12 | 16.12 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 17.0, < 17.8 | 17.8 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 18.0, < 18.2 | 18.2 |
References
- https://www.postgresql.org/support/security/CVE-2026-2004/ · Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:19009
- https://access.redhat.com/errata/RHSA-2026:19010
- https://access.redhat.com/errata/RHSA-2026:3730
- https://access.redhat.com/errata/RHSA-2026:3887
- https://access.redhat.com/errata/RHSA-2026:3896
- https://access.redhat.com/errata/RHSA-2026:4024
- https://access.redhat.com/errata/RHSA-2026:4059
- https://access.redhat.com/errata/RHSA-2026:4063
- https://access.redhat.com/errata/RHSA-2026:4064
- https://access.redhat.com/errata/RHSA-2026:4074
- https://access.redhat.com/errata/RHSA-2026:4075
- https://access.redhat.com/errata/RHSA-2026:4110
- https://access.redhat.com/errata/RHSA-2026:4254
- https://access.redhat.com/errata/RHSA-2026:4441
- https://access.redhat.com/errata/RHSA-2026:4475
- https://access.redhat.com/errata/RHSA-2026:4504
- https://access.redhat.com/errata/RHSA-2026:4505
- https://access.redhat.com/errata/RHSA-2026:4506
- https://access.redhat.com/errata/RHSA-2026:4509
- https://access.redhat.com/errata/RHSA-2026:4515
- https://access.redhat.com/errata/RHSA-2026:4516
- https://access.redhat.com/errata/RHSA-2026:4518
- https://access.redhat.com/errata/RHSA-2026:4524
- https://access.redhat.com/errata/RHSA-2026:4528
- https://access.redhat.com/errata/RHSA-2026:4544
- https://access.redhat.com/errata/RHSA-2026:4546
- https://access.redhat.com/errata/RHSA-2026:4547
- https://access.redhat.com/errata/RHSA-2026:4548
- https://access.redhat.com/errata/RHSA-2026:4943
- https://access.redhat.com/errata/RHSA-2026:8756
- https://access.redhat.com/security/cve/CVE-2026-2004
- https://bugzilla.redhat.com/show_bug.cgi?id=2439325
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2004.json
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Feb 2026)