CVE-2026-14676

NameCVE-2026-14676
DescriptionHeap buffer overflow in PostgreSQL pg_stat_statements allows the query author to execute arbitrary code as the operating system user running the database, via crafted queries containing array constants. Within major version 18, minor versions before PostgreSQL 18.5 are affected. Versions before PostgreSQL 18 are unaffected.
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)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
postgresql-13 (PTS)bullseye13.16-0+deb11u1fixed
bullseye (security)13.23-0+deb11u4fixed
postgresql-15 (PTS)bookworm15.18-0+deb12u1fixed
bookworm (security)15.19-0+deb12u1fixed
postgresql-17 (PTS)trixie17.10-0+deb13u1fixed
trixie (security)17.11-0+deb13u1fixed
postgresql-18 (PTS)forky18.4-1vulnerable
sid18.6-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
postgresql-13source(unstable)(not affected)
postgresql-15source(unstable)(not affected)
postgresql-17source(unstable)(not affected)
postgresql-18source(unstable)18.6-1

Notes

- postgresql-17 <not-affected> (Vulnerable code not present)
- postgresql-15 <not-affected> (Vulnerable code not present)
- postgresql-13 <not-affected> (Vulnerable code not present)
https://www.postgresql.org/support/security/CVE-2026-14676/
https://www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/

Search for package or bug name: Reporting problems