CVE-2026-2004
High 8.8 CVSS 3.1
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-02-12
- Last modified
- 2026-07-15
- Assigned by
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- Probability of exploitation
-
0.8 %
higher than 53 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Postgresql | Postgresql | ≥ 14.0, < 14.21 | Affected |
| Postgresql | Postgresql | ≥ 15.0, < 15.16 | Affected |
| Postgresql | Postgresql | ≥ 16.0, < 16.12 | Affected |
| Postgresql | Postgresql | ≥ 17.0, < 17.8 | Affected |
| Postgresql | Postgresql | ≥ 18.0, < 18.2 | Affected |
Weakness type
-
CWE-1287: Improper Validation of Specified Type of Input
The product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type.
References
- https://www.postgresql.org/support/security/CVE-2026-2004/
- 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
Related at Berigo
Articles
-
Critical unauthenticated vulnerability in Splunk Enterprise
Same product
2026-06-10
CVE-2026-20253, scored 9.8, lets an unauthenticated attacker create or truncate files via a PostgreSQL sidecar in Splunk.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.