Integer Overflow or Wraparound Affecting postgresql16-docs-debuginfo package, versions <0:16.11-1.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.1% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-POSTGRESQL16DOCSDEBUGINFO-14431392
  • published17 Dec 2025
  • disclosed13 Nov 2025

Introduced: 13 Nov 2025

CVE-2025-12818  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 postgresql16-docs-debuginfo to version 0:16.11-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1314.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql16-docs-debuginfo package and not the postgresql16-docs-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1