USN-6296-1

Type: Security
Severity: Medium
Published: 2023-08-17
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

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

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T08:08:25.082Z 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

Interested in being alerted when there are new versions of postgresql-server-dev-14 and the other packages? Set up an alert.
USN-6296-1: PostgreSQL vulnerabilities | Package Alert