Integer Overflow or Wraparound Affecting postgresql package, versions [18.0, 18.1)[17.0, 17.7)[16.0, 16.11)[15.0, 15.15)[14.0, 14.20)[13.0,13.23)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th 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-UNMANAGED-POSTGRESQL-14038403
  • published17 Nov 2025
  • disclosed13 Nov 2025
  • creditUnknown

Introduced: 13 Nov 2025

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

How to fix?

Upgrade postgresql to version 18.1, 17.7, 16.11, 15.15, 14.20, 13.23 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the libpq client library functions. An attacker can cause the client application to crash or experience a segmentation fault by sending specially crafted PostgreSQL protocol data that triggers integer wraparound and leads to an out-of-bounds write during connection establishment.

CVSS Base Scores

version 4.0
version 3.1