CVE-2026-15742: Integer Overflow or Wraparound in PostgreSQL
CVE-2026-15742 is an integer overflow or wraparound vulnerability in PostgreSQL's fuzzystrmatch extension. It allows a user with database privileges to execute arbitrary code as the operating system user running the database by providing extreme inputs to the levenshtein() or levenshtein_less_equal() SQL functions. This affects multiple PostgreSQL versions prior to 18.6, 17.11, 16.15, 15.19, and 14.24.
AI Analysis
Technical Summary
This vulnerability arises from an integer wraparound in the fuzzystrmatch module of PostgreSQL. Specifically, the levenshtein() and levenshtein_less_equal() functions can be exploited with crafted inputs to cause memory corruption, enabling arbitrary code execution with the privileges of the OS user running the database process. The flaw affects PostgreSQL versions before 14.24, 15.19, 16.15, 17.11, and 18.6.
Potential Impact
Successful exploitation allows an attacker with database access to execute arbitrary code at the operating system level with the permissions of the PostgreSQL server process user. This can lead to full system compromise depending on the privileges of that user. The CVSS score of 8.8 indicates high severity with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
Upgrading PostgreSQL to versions 14.24, 15.19, 16.15, 17.11, or 18.6 and later addresses this vulnerability. Users should apply these official patches to remediate the issue. No alternative mitigations are indicated in the provided data.
CVE-2026-15742: Integer Overflow or Wraparound in PostgreSQL
Description
CVE-2026-15742 is an integer overflow or wraparound vulnerability in PostgreSQL's fuzzystrmatch extension. It allows a user with database privileges to execute arbitrary code as the operating system user running the database by providing extreme inputs to the levenshtein() or levenshtein_less_equal() SQL functions. This affects multiple PostgreSQL versions prior to 18.6, 17.11, 16.15, 15.19, and 14.24.
CVSS v3.1
Score 8.8high
Affected software
PostgreSQL
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
This vulnerability arises from an integer wraparound in the fuzzystrmatch module of PostgreSQL. Specifically, the levenshtein() and levenshtein_less_equal() functions can be exploited with crafted inputs to cause memory corruption, enabling arbitrary code execution with the privileges of the OS user running the database process. The flaw affects PostgreSQL versions before 14.24, 15.19, 16.15, 17.11, and 18.6.
Potential Impact
Successful exploitation allows an attacker with database access to execute arbitrary code at the operating system level with the permissions of the PostgreSQL server process user. This can lead to full system compromise depending on the privileges of that user. The CVSS score of 8.8 indicates high severity with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
Upgrading PostgreSQL to versions 14.24, 15.19, 16.15, 17.11, or 18.6 and later addresses this vulnerability. Users should apply these official patches to remediate the issue. No alternative mitigations are indicated in the provided data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-14T14:24:10.871Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7dc617bf8831d5393e53b6
Added to database: 08/13/2026, 13:26:47 UTC
Last enriched: 09/12/2026, 04:46:32 UTC
Last updated: 09/28/2026, 13:47:42 UTC
Views: 37
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.