CVE-2026-116318

NameCVE-2026-116318
DescriptionSQL injection in PostgreSQL pg_dump allows an object creator to execute arbitrary SQL as the user restoring the dump, via an inherited column having a child-local not-null constraint whose name requires quoting. Within major version 18, minor versions before PostgreSQL 18.7 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-15 (PTS)bookworm15.18-0+deb12u1fixed
bookworm (security)15.20-0+deb12u1fixed
postgresql-17 (PTS)trixie (security), trixie17.12-0+deb13u1fixed
postgresql-18 (PTS)forky, sid18.7-1fixed

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

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

Notes

- postgresql-17 <not-affected> (Vulnerable code introduced later)
- postgresql-15 <not-affected> (Vulnerable code introduced later)
https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/

Search for package or bug name: Reporting problems