CVE-2026-2004

NameCVE-2026-2004
DescriptionMissing 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6132-1, DSA-6133-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
postgresql-13 (PTS)bullseye13.16-0+deb11u1vulnerable
bullseye (security)13.23-0+deb11u1vulnerable
postgresql-15 (PTS)bookworm15.15-0+deb12u1vulnerable
bookworm (security)15.16-0+deb12u1fixed
postgresql-17 (PTS)trixie17.7-0+deb13u1vulnerable
trixie (security)17.8-0+deb13u1fixed
postgresql-18 (PTS)forky18.1-2vulnerable
sid18.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
postgresql-13source(unstable)(unfixed)
postgresql-15sourcebookworm15.16-0+deb12u1DSA-6132-1
postgresql-15source(unstable)(unfixed)
postgresql-17sourcetrixie17.8-0+deb13u1DSA-6133-1
postgresql-17source(unstable)(unfixed)
postgresql-18source(unstable)18.2-1

Notes

https://www.postgresql.org/about/news/postgresql-182-178-1612-1516-and-1421-released-3235/
Fixed by: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=66ddac6982c6dc0369dc7b2d251f4d210d704a57 (REL_18_2)
Fixed by: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=b69af3dda26104b54d4e728c6946edcc79a8ac61 (REL_18_2)

Search for package or bug name: Reporting problems