Amazon Linux 2 Security Advisory: ALAS2POSTGRESQL14-2025-021
Advisory Released Date: 2025-12-08
Advisory Updated Date: 2025-12-08
Missing authorization in PostgreSQL CREATE STATISTICS command allows a table owner to achieve denial of service against other CREATE STATISTICS users by creating in any schema. A later CREATE STATISTICS for the same name, from a user having the CREATE privilege, would then fail. Versions before PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 are affected. (CVE-2025-12817)
Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network peer to cause libpq to undersize an allocation and write out-of-bounds by hundreds of megabytes. This results in a segmentation fault for the application using libpq. Versions before PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 are affected. (CVE-2025-12818)
Affected Packages:
postgresql
Note:
This advisory is applicable to Amazon Linux 2 - Postgresql14 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update postgresql or yum update --advisory ALAS2POSTGRESQL14-2025-021 to update your system.
aarch64:
postgresql-14.20-1.amzn2.0.1.aarch64
postgresql-server-14.20-1.amzn2.0.1.aarch64
postgresql-docs-14.20-1.amzn2.0.1.aarch64
postgresql-contrib-14.20-1.amzn2.0.1.aarch64
postgresql-server-devel-14.20-1.amzn2.0.1.aarch64
postgresql-static-14.20-1.amzn2.0.1.aarch64
postgresql-upgrade-14.20-1.amzn2.0.1.aarch64
postgresql-upgrade-devel-14.20-1.amzn2.0.1.aarch64
postgresql-plperl-14.20-1.amzn2.0.1.aarch64
postgresql-plpython3-14.20-1.amzn2.0.1.aarch64
postgresql-pltcl-14.20-1.amzn2.0.1.aarch64
postgresql-test-14.20-1.amzn2.0.1.aarch64
postgresql-llvmjit-14.20-1.amzn2.0.1.aarch64
postgresql-debuginfo-14.20-1.amzn2.0.1.aarch64
noarch:
postgresql-test-rpm-macros-14.20-1.amzn2.0.1.noarch
src:
postgresql-14.20-1.amzn2.0.1.src
x86_64:
postgresql-14.20-1.amzn2.0.1.x86_64
postgresql-server-14.20-1.amzn2.0.1.x86_64
postgresql-docs-14.20-1.amzn2.0.1.x86_64
postgresql-contrib-14.20-1.amzn2.0.1.x86_64
postgresql-server-devel-14.20-1.amzn2.0.1.x86_64
postgresql-static-14.20-1.amzn2.0.1.x86_64
postgresql-upgrade-14.20-1.amzn2.0.1.x86_64
postgresql-upgrade-devel-14.20-1.amzn2.0.1.x86_64
postgresql-plperl-14.20-1.amzn2.0.1.x86_64
postgresql-plpython3-14.20-1.amzn2.0.1.x86_64
postgresql-pltcl-14.20-1.amzn2.0.1.x86_64
postgresql-test-14.20-1.amzn2.0.1.x86_64
postgresql-llvmjit-14.20-1.amzn2.0.1.x86_64
postgresql-debuginfo-14.20-1.amzn2.0.1.x86_64