USN-6296-1
It was discovered that PostgreSQL incorrectly handled certain extension script substitutions. An attacker having database-level CREATE privileges can use this issue to execute arbitrary code as the bootstrap superuser. (CVE-2023-39417) It was discovered that PostgreSQL incorrectly handled the MERGE command. A remote attacker could possibly use this issue to bypass certain UPDATE and SELECT policies. This issue only affected Ubuntu 23.04. (CVE-2023-39418) Update Instructions: Run `sudo pro fix USN-6296-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: postgresql-server-dev-14 - 14.9-0ubuntu0.22.04.1 libecpg6 - 14.9-0ubuntu0.22.04.1 libpq5 - 14.9-0ubuntu0.22.04.1 libpgtypes3 - 14.9-0ubuntu0.22.04.1 postgresql-plpython3-14 - 14.9-0ubuntu0.22.04.1 libecpg-dev - 14.9-0ubuntu0.22.04.1 postgresql-pltcl-14 - 14.9-0ubuntu0.22.04.1 postgresql-plperl-14 - 14.9-0ubuntu0.22.04.1 libpq-dev - 14.9-0ubuntu0.22.04.1 postgresql-client-14 - 14.9-0ubuntu0.22.04.1 libecpg-compat3 - 14.9-0ubuntu0.22.04.1 postgresql-doc-14 - 14.9-0ubuntu0.22.04.1 postgresql-14 - 14.9-0ubuntu0.22.04.1 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC
Upstream Advisory
Affected Packages
postgresql-server-dev-14 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
libecpg6 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
libpq5 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
libpgtypes3 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
postgresql-plpython3-14 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
libecpg-dev 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
postgresql-pltcl-14 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
postgresql-plperl-14 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
libpq-dev 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
postgresql-client-14 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
libecpg-compat3 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
postgresql-doc-14 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
postgresql-14 14.9-0ubuntu0.22.04.1-14.9-0ubuntu0.22.04.1
libpq5 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
postgresql-server-dev-12 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
libecpg-dev 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
libecpg6 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
postgresql-plpython3-12 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
libpgtypes3 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
postgresql-plperl-12 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
postgresql-pltcl-12 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
libpq-dev 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
postgresql-doc-12 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
postgresql-12 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
postgresql-client-12 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1
libecpg-compat3 12.16-0ubuntu0.20.04.1-12.16-0ubuntu0.20.04.1