USN-7315-1
Stephen Fewer discovered that PostgreSQL incorrectly handled quoting syntax in certain scenarios. A remote attacker could possibly use this issue to perform SQL injection attacks. Update Instructions: Run `sudo pro fix USN-7315-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.2 libecpg-dev - 12.22-0ubuntu0.20.04.2 libecpg6 - 12.22-0ubuntu0.20.04.2 libpgtypes3 - 12.22-0ubuntu0.20.04.2 libpq-dev - 12.22-0ubuntu0.20.04.2 libpq5 - 12.22-0ubuntu0.20.04.2 postgresql-12 - 12.22-0ubuntu0.20.04.2 postgresql-client-12 - 12.22-0ubuntu0.20.04.2 postgresql-doc-12 - 12.22-0ubuntu0.20.04.2 postgresql-plperl-12 - 12.22-0ubuntu0.20.04.2 postgresql-plpython3-12 - 12.22-0ubuntu0.20.04.2 postgresql-pltcl-12 - 12.22-0ubuntu0.20.04.2 postgresql-server-dev-12 - 12.22-0ubuntu0.20.04.2 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC
Upstream Advisory
Affected Packages
libecpg-compat3 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
libecpg-dev 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
libecpg6 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
libpgtypes3 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
libpq-dev 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
libpq5 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
postgresql-12 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
postgresql-client-12 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
postgresql-doc-12 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
postgresql-plperl-12 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
postgresql-plpython3-12 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
postgresql-pltcl-12 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
postgresql-server-dev-12 12.22-0ubuntu0.20.04.2-12.22-0ubuntu0.20.04.2
libecpg-compat3 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
libecpg-dev 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
libecpg6 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
libpgtypes3 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
libpq-dev 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
libpq5 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
postgresql-14 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
postgresql-client-14 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
postgresql-doc-14 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
postgresql-plperl-14 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
postgresql-plpython3-14 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
postgresql-pltcl-14 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
postgresql-server-dev-14 14.17-0ubuntu0.22.04.1-14.17-0ubuntu0.22.04.1
libecpg-compat3 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
libecpg-dev 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
libecpg6 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
libpgtypes3 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
libpq-dev 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
libpq5 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
postgresql-16 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
postgresql-client-16 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
postgresql-doc-16 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
postgresql-plperl-16 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
postgresql-plpython3-16 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
postgresql-pltcl-16 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1
postgresql-server-dev-16 16.8-0ubuntu0.24.04.1-16.8-0ubuntu0.24.04.1