Skip to content
OpenAdvisories
Medium ALAS2023-2025-1299 1 CVE

Moderate: libpq security update (Amazon Linux 2023)

Published Dec 8, 2025 · Updated Dec 8, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-12818: 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.

Fixed packages 5

ReleasePackageFixed in
Amazon Linux · 2023 libpq 0:17.7-1.amzn2023.0.1
Amazon Linux · 2023 libpq-debuginfo 0:17.7-1.amzn2023.0.1
Amazon Linux · 2023 libpq-debugsource 0:17.7-1.amzn2023.0.1
Amazon Linux · 2023 libpq-devel 0:17.7-1.amzn2023.0.1
Amazon Linux · 2023 libpq-devel-debuginfo 0:17.7-1.amzn2023.0.1

Vulnerabilities 1

  • Medium 5.9

    PostgreSQL libpq undersizes allocations, via integer wraparound

    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 …

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-12818.html