USN-7520-1

Type: Security
Severity: Medium
Published: 2025-05-20
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 22.04 LTS (Jammy Jellyfish)

It was discovered that PostgreSQL incorrectly handled the GB18030 encoding. An attacker could possibly use this issue to cause PostgreSQL to crash, resulting in a denial of service. Update Instructions: Run `sudo pro fix USN-7520-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libecpg-compat3 - 12.22-0ubuntu0.20.04.4 libecpg-dev - 12.22-0ubuntu0.20.04.4 libecpg6 - 12.22-0ubuntu0.20.04.4 libpgtypes3 - 12.22-0ubuntu0.20.04.4 libpq-dev - 12.22-0ubuntu0.20.04.4 libpq5 - 12.22-0ubuntu0.20.04.4 postgresql-12 - 12.22-0ubuntu0.20.04.4 postgresql-client-12 - 12.22-0ubuntu0.20.04.4 postgresql-doc-12 - 12.22-0ubuntu0.20.04.4 postgresql-plperl-12 - 12.22-0ubuntu0.20.04.4 postgresql-plpython3-12 - 12.22-0ubuntu0.20.04.4 postgresql-pltcl-12 - 12.22-0ubuntu0.20.04.4 postgresql-server-dev-12 - 12.22-0ubuntu0.20.04.4 No subscription required

Evidence and freshness

Data current

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

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T08:51:17.812Z UTC.

Upstream Advisory

Affected Packages

  • libecpg-compat3 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • libecpg-dev 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • libecpg6 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • libpgtypes3 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • libpq-dev 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • libpq5 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • postgresql-12 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • postgresql-client-12 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • postgresql-doc-12 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • postgresql-plperl-12 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • postgresql-plpython3-12 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • postgresql-pltcl-12 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • postgresql-server-dev-12 12.22-0ubuntu0.20.04.4-12.22-0ubuntu0.20.04.4

  • libecpg-compat3 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • libecpg-dev 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • libecpg6 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • libpgtypes3 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • libpq-dev 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • libpq5 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • postgresql-16 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • postgresql-client-16 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • postgresql-doc-16 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • postgresql-plperl-16 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • postgresql-plpython3-16 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • postgresql-pltcl-16 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

  • postgresql-server-dev-16 16.9-0ubuntu0.24.04.1-16.9-0ubuntu0.24.04.1

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

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

  • libecpg6 14.18-0ubuntu0.22.04.1-14.18-0ubuntu0.22.04.1

  • libpgtypes3 14.18-0ubuntu0.22.04.1-14.18-0ubuntu0.22.04.1

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

  • libpq5 14.18-0ubuntu0.22.04.1-14.18-0ubuntu0.22.04.1

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

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

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

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

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

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

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

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