CVE-2026-15742: Integer Overflow or Wraparound in PostgreSQL
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.
AI Analysis
Technical Summary
The vulnerability arises from an integer wraparound in the fuzzystrmatch module of PostgreSQL, specifically in the levenshtein() and levenshtein_less_equal() functions. Exploiting this flaw enables an attacker to direct writes to a large range of memory addresses, potentially leading to arbitrary code execution with the privileges of the operating system user running the database. The issue affects multiple major PostgreSQL versions prior to the specified fixed releases.
Potential Impact
Successful exploitation can lead to arbitrary code execution as the OS user running the PostgreSQL database, which can compromise the confidentiality, integrity, and availability of the database system and potentially the host system. The CVSS score of 8.8 reflects a high severity with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the current data. Users should monitor PostgreSQL vendor advisories for updates and apply official patches once available. Until then, restricting database user privileges and limiting access to the vulnerable functions may reduce risk.
CVE-2026-15742: Integer Overflow or Wraparound in PostgreSQL
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.
CVSS v3.1
Score 8.8high
Affected software
pkg:deb/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from an integer wraparound in the fuzzystrmatch module of PostgreSQL, specifically in the levenshtein() and levenshtein_less_equal() functions. Exploiting this flaw enables an attacker to direct writes to a large range of memory addresses, potentially leading to arbitrary code execution with the privileges of the operating system user running the database. The issue affects multiple major PostgreSQL versions prior to the specified fixed releases.
Potential Impact
Successful exploitation can lead to arbitrary code execution as the OS user running the PostgreSQL database, which can compromise the confidentiality, integrity, and availability of the database system and potentially the host system. The CVSS score of 8.8 reflects a high severity with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the current data. Users should monitor PostgreSQL vendor advisories for updates and apply official patches once available. Until then, restricting database user privileges and limiting access to the vulnerable functions may reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-14T14:24:10.871Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7dc617bf8831d5393e53b6
Added to database: 08/13/2026, 13:26:47 UTC
Last enriched: 08/13/2026, 13:43:03 UTC
Last updated: 08/13/2026, 23:40:59 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.