Quick answers
- Is CVE-2026-2004 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-2004 being exploited in the wild.
- How severe is CVE-2026-2004?
- High severity, with a CVSS score of 8.8, published 12 February 2026.
- Which products and versions are affected?
- PostgreSQL < 18.2, < 17.8, < 16.12, < 15.16, < 14.21.
- Is there a fix for CVE-2026-2004?
- A patch was published on 2026-02-12. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-2004 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-2004?
- Check whether you run PostgreSQL at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A vulnerability classified as Improper Validation of Specified Type of Input (CWE-1287) exists in the PostgreSQL 'intarray' contrib module. The root cause is a missing validation of input types within the selectivity estimator function. An attacker with 'object creator' permissions can leverage this lack of validation to trigger arbitrary code execution as the operating system user running the PostgreSQL service. The attack vector is over the network, requiring low-level authentication but no user interaction. Patches have been released in PostgreSQL versions 18.2, 17.8, 16.12, 15.16, and 14.21.
Affected products
- PostgreSQL PostgreSQL < 18.2, < 17.8, < 16.12, < 15.16, < 14.21
- Red Hat Red Hat Enterprise Linux 10
Timeline
- 2026-02-12: disclosed
- 2026-02-12: patched
- 2026-02-12: advisory
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