CVE-2026-2004
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 1.23%• Percentile: 68%
Techniques & Countermeasures
- 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.
Affected Systems
- alpine•postgresql15
< 15.16-r0
- alpine•postgresql16
< 16.12-r0 | < 16.12-r0 | < 16.12-r0
- alpine•postgresql17
< 17.8-r0 | < 17.8-r0 | < 17.8-r0 | < 17.8-r0
- alpine•postgresql18
< 18.2-r0 | < 18.2-r0
- chainguard•postgresql-13
< 13.23-r5
- wolfi•postgresql-13
< 13.23-r5
- debian•postgresql-13
< 13.23-0+deb11u2
- debian•postgresql-15
< 15.16-0+deb12u1
- debian•postgresql-17
< 17.8-0+deb13u1
- debian•postgresql-18
< 18.2-1
- postgresql•postgresql
≥ 14.0, < 14.21 | ≥ 15.0, < 15.16 | ≥ 16.0, < 16.12 | ≥ 17.0, < 17.8 | ≥ 18.0, < 18.2
References (36)
- https://www.postgresql.org/support/security/CVE-2026-2004/
- 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
- https://access.redhat.com/errata/RHSA-2026:4441
- https://access.redhat.com/errata/RHSA-2026:3887
- https://access.redhat.com/errata/RHSA-2026:19010
- https://access.redhat.com/errata/RHSA-2026:19009
- https://access.redhat.com/errata/RHSA-2026:4064
- 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:4506
- https://access.redhat.com/errata/RHSA-2026:4509
- https://access.redhat.com/errata/RHSA-2026:4504
- https://access.redhat.com/errata/RHSA-2026:4505
- https://access.redhat.com/errata/RHSA-2026:4516
- https://access.redhat.com/errata/RHSA-2026:4075
- https://access.redhat.com/errata/RHSA-2026:4074
- https://access.redhat.com/errata/RHSA-2026:4515
- https://access.redhat.com/errata/RHSA-2026:4518
- https://access.redhat.com/errata/RHSA-2026:4254
- https://access.redhat.com/errata/RHSA-2026:4475
- https://access.redhat.com/errata/RHSA-2026:4548
- https://access.redhat.com/errata/RHSA-2026:4544
- https://access.redhat.com/errata/RHSA-2026:4524
- https://access.redhat.com/errata/RHSA-2026:4546
- https://access.redhat.com/errata/RHSA-2026:4547
- https://access.redhat.com/errata/RHSA-2026:4528
- https://access.redhat.com/errata/RHSA-2026:3896
- https://access.redhat.com/errata/RHSA-2026:4110
- https://access.redhat.com/errata/RHSA-2026:3730
- https://access.redhat.com/errata/RHSA-2026:8756
- https://access.redhat.com/errata/RHSA-2026:4943
- https://security-tracker.debian.org/tracker/CVE-2026-2004
- https://security.alpinelinux.org/vuln/CVE-2026-2004