Integer Overflow or Wraparound Affecting postgresql-libs package, versions <0:9.2.24-8.amzn2.0.11


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.56% (44th 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 IDSNYK-AMZN2-POSTGRESQLLIBS-19457206
  • published1 Sept 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

CVE-2026-15742  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 postgresql-libs to version 0:9.2.24-8.amzn2.0.11 or higher.
This issue was patched in ALAS2-2026-3900.

NVD Description

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

Integer wraparound in PostgreSQL fuzzystrmatch allows a user to direct writes to a huge range of addresses, executing arbitrary code as the operating system user running the database, via extreme inputs to SQL function levenshtein() or levenshtein_less_equal(). Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

CVSS Base Scores

version 3.1