Integer Wraparound Vulnerability in PostgreSQL by PostgreSQL Global Development Group
CVE-2026-15742

8.8HIGH

What is CVE-2026-15742?

A vulnerability in PostgreSQL's fuzzystrmatch can lead to an integer wraparound, allowing attackers to manipulate memory addresses. By providing crafted inputs to the SQL function levenshtein() or levenshtein_less_equal(), an attacker may execute arbitrary code as the operating system user running the database. This poses significant security risks for versions prior to PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24.

Affected Version(s)

PostgreSQL 18 < 18.5

PostgreSQL 17 < 17.11

PostgreSQL 16 < 16.15

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

The PostgreSQL project thanks Ben Morris (Claude and Anthropic Research) for reporting this problem.
.