Skip to content
OpenAdvisories
High ALAS2023-2026-3486 42 CVEs

Important: postgresql16 security update (Amazon Linux 2023)

Published Nov 19, 2026 · Updated Nov 18, 2026

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-6467: Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user". ALTER EXTENSION was also affected. A trusted-extension script located the wrong object and executed arbitrary SQL of the attacker's choice. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-6460: Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as "ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN". The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system. PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-18447: Type confusion in PostgreSQL SQL-language functions allows an object creator to execute arbitrary code as the operating system user running the database, via an output parameter of type "any". Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-16240: Use of externally-controlled format string in PostgreSQL pg_basebackup allows an attacker having already compromised a server to achieve disclosure from pg_basebackup memory, via backup manifest bytes. The vulnerability does not return the improperly-read bytes back to the attacker's server, so a successful attack would need separate implementation-specific secrets for that. Integrity impact is unlikely; in particular, the applicable formatter does not support %n. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-16237: Improper protection in PostgreSQL INSERT ... ON CONFLICT on auto-updatable views allows an attacker having INSERT and UPDATE privileges on the view to read and modify every row in the view's base table, via iterated INSERT ... ON CONFLICT DO UPDATE. This bypasses the view's WHERE condition, whether or not the view is a security_barrier view. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120154: Improper protection in PostgreSQL INSERT ... ON CONFLICT allows an attacker having INSERT, UPDATE, and applicable SELECT privileges on the table to read every row despite row security policies, via iterated INSERT ... ON CONFLICT DO UPDATE. Unlike CVE-2026-16237, this does not facilitate improper writes. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120153: SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via a schema or owner name containing newlines or other special substrings. This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120152: Use after free in PostgreSQL pg_show_all_settings() allows a database user to retrieve memory contents, via loading a module while the function is scanning custom-variable placeholders that the module replaces and frees. Within major versions 16-18, minor versions before PostgreSQL 18.7, 17.12, and 16.16 are affected. Versions before PostgreSQL 16 are unaffected. CVE-2026-120151: Type confusion in PostgreSQL plpgsql record-field assignment allows an object creator to execute arbitrary code as the operating system user running the database, via a reentrant domain CHECK that changes a RECORD variable's row type while a value is being cast. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120150: Use after free in PostgreSQL expanded-record domain checks allows an object creator to execute arbitrary code as the operating system user running the database, via repeated checks of a domain over a composite type that cause reuse of a dangling memory-context pointer. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120149: Heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code, via reporting that it inserted more rows than the server supplied. postgres_fdw can legitimately encounter this when a rule on the remote table expands an INSERT into additional rows. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120148: Type confusion in PostgreSQL extended statistics allows an object creator to execute arbitrary code as the operating system user running the database, via a statistics expression of an anonymous RECORD type whose backend-local type identifier denotes a different row type in another session. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120147: Use after free in the PostgreSQL dblink extension allows an object creator to execute arbitrary code as the operating system user running the database, via type conversion code that re-enters dblink and closes a connection whose results an outer dblink call is reading. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120146: Missing authorization in PostgreSQL REASSIGN OWNED allows a role granted INHERIT but not SET to transfer objects to the granted role. It also allows reassignment of database ownership without the CREATEDB privilege. The equivalent ALTER ... OWNER commands block this. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. CVE-2026-120145: Missing authorization in PostgreSQL logical replication allows a compromised publis

Fixed packages 30

ReleasePackageFixed in
Amazon Linux · 2023 postgresql16 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-contrib 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-contrib-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-debugsource 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-docs 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-docs-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-llvmjit 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-llvmjit-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-plperl 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-plperl-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-plpython3 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-plpython3-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-pltcl 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-pltcl-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-private-devel 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-private-libs 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-private-libs-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-server 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-server-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-server-devel 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-server-devel-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-static 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-test 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-test-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-test-rpm-macros 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-upgrade 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-upgrade-debuginfo 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-upgrade-devel 0:16.16-1.amzn2023.0.1
Amazon Linux · 2023 postgresql16-upgrade-devel-debuginfo 0:16.16-1.amzn2023.0.1

Vulnerabilities 42

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116304.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116306.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116320.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116319.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116307.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116315.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120141.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116336.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116308.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116328.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116317.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-16237.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-16240.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116331.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116323.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116332.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116326.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116311.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116312.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116303.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116335.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120145.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120143.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116309.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-6460.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-116321.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120154.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120153.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120139.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-18447.html