USN-6538-1

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

Jingzhou Fu discovered that PostgreSQL incorrectly handled certain unknown arguments in aggregate function calls. A remote attacker could possibly use this issue to obtain sensitive information. (CVE-2023-5868) Pedro Gallegos discovered that PostgreSQL incorrectly handled modifying certain SQL array values. A remote attacker could use this issue to obtain sensitive information, or possibly execute arbitrary code. (CVE-2023-5869) Hemanth Sandrana and Mahendrakar Srinivasarao discovered that PostgreSQL allowed the pg_signal_backend role to signal certain superuser processes, contrary to expectations. (CVE-2023-5870) Update Instructions: Run `sudo pro fix USN-6538-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libpq5 - 12.17-0ubuntu0.20.04.1 postgresql-server-dev-12 - 12.17-0ubuntu0.20.04.1 libecpg-dev - 12.17-0ubuntu0.20.04.1 libecpg6 - 12.17-0ubuntu0.20.04.1 postgresql-plpython3-12 - 12.17-0ubuntu0.20.04.1 libpgtypes3 - 12.17-0ubuntu0.20.04.1 postgresql-plperl-12 - 12.17-0ubuntu0.20.04.1 postgresql-pltcl-12 - 12.17-0ubuntu0.20.04.1 libpq-dev - 12.17-0ubuntu0.20.04.1 postgresql-doc-12 - 12.17-0ubuntu0.20.04.1 postgresql-12 - 12.17-0ubuntu0.20.04.1 postgresql-client-12 - 12.17-0ubuntu0.20.04.1 libecpg-compat3 - 12.17-0ubuntu0.20.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T04:50:43.236Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T04:50:43.236Z UTC. Last updated 2025-11-26T08:12:55.393Z UTC.

Upstream Advisory

Affected Packages

  • libpq5 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • postgresql-server-dev-12 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • libecpg-dev 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • libecpg6 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • postgresql-plpython3-12 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • libpgtypes3 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • postgresql-plperl-12 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • postgresql-pltcl-12 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • libpq-dev 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • postgresql-doc-12 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • postgresql-12 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • postgresql-client-12 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • libecpg-compat3 12.17-0ubuntu0.20.04.1-12.17-0ubuntu0.20.04.1

  • postgresql-server-dev-14 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • libecpg6 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • libpq5 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • libpgtypes3 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • postgresql-plpython3-14 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • libecpg-dev 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • postgresql-pltcl-14 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • postgresql-plperl-14 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • libpq-dev 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • postgresql-client-14 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • libecpg-compat3 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • postgresql-doc-14 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

  • postgresql-14 14.10-0ubuntu0.22.04.1-14.10-0ubuntu0.22.04.1

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