All reports
High

postgresql-fuzzystrmatch: PostgreSQL fuzzystrmatch: Arbitrary code execution via integer wraparound

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-15742

Probability of exploitation in the next 30 days: 0.60%

FIRST EPSS · 2026-11-21

Description

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.5, 17.11, 16.15, 15.19, and 14.24 are affected.

A flaw was found in PostgreSQL fuzzystrmatch. A low-privileged database user can exploit an integer wraparound vulnerability by providing extreme inputs to the levenshtein() or levenshtein_less_equal() SQL functions. This allows the user to execute arbitrary code as the operating system user running the database, potentially leading to full system compromise.