Amazon Linux 2 Security Advisory: ALAS2POSTGRESQL14-2025-020
Advisory Released Date: 2025-12-08
Advisory Updated Date: 2025-12-08
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:
libpq
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 libpq or yum update --advisory ALAS2POSTGRESQL14-2025-020 to update your system.
aarch64:
libpq-14.20-1.amzn2.0.1.aarch64
libpq-devel-14.20-1.amzn2.0.1.aarch64
libpq-debuginfo-14.20-1.amzn2.0.1.aarch64
src:
libpq-14.20-1.amzn2.0.1.src
x86_64:
libpq-14.20-1.amzn2.0.1.x86_64
libpq-devel-14.20-1.amzn2.0.1.x86_64
libpq-debuginfo-14.20-1.amzn2.0.1.x86_64