CVE-2026-14662: Integer Overflow or Wraparound in PostgreSQL
CVE-2026-14662 is an integer overflow or wraparound vulnerability in PostgreSQL's tsvector and tsquery data type functions. It allows an unprivileged database user to cause the server to undersize memory allocation and write out-of-bounds with crafted large inputs, potentially leading to arbitrary code execution as the operating system user running the database. The vulnerability affects PostgreSQL versions before 18.6, 17.11, 16.15, 15.19, and 14.24. Application users attacking through typical application interfaces are unlikely to exploit this issue because these types are usually sourced from application logic rather than directly from user input. Similar issues were addressed in CVE-2026-6473.
AI Analysis
Technical Summary
This vulnerability involves an integer wraparound in PostgreSQL's tsvector and tsquery data type functions that results in undersized memory allocation and out-of-bounds writes when processing crafted large inputs. An unprivileged database user can exploit this to execute arbitrary code with the privileges of the database server process. The flaw affects multiple PostgreSQL major versions prior to the specified patch levels. The vulnerability is similar to a previously fixed issue (CVE-2026-6473).
Potential Impact
Successful exploitation can lead to arbitrary code execution with the operating system privileges of the PostgreSQL server process, resulting in full compromise of the database server. However, exploitation via typical application user input is unlikely because the vulnerable data types are generally derived from application logic, not direct user input.
Mitigation Recommendations
A fix is available in PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 and later. Users should upgrade to these or newer versions to remediate the vulnerability. No additional mitigation guidance is provided or necessary beyond applying the official patches.
CVE-2026-14662: Integer Overflow or Wraparound in PostgreSQL
Description
CVE-2026-14662 is an integer overflow or wraparound vulnerability in PostgreSQL's tsvector and tsquery data type functions. It allows an unprivileged database user to cause the server to undersize memory allocation and write out-of-bounds with crafted large inputs, potentially leading to arbitrary code execution as the operating system user running the database. The vulnerability affects PostgreSQL versions before 18.6, 17.11, 16.15, 15.19, and 14.24. Application users attacking through typical application interfaces are unlikely to exploit this issue because these types are usually sourced from application logic rather than directly from user input. Similar issues were addressed in CVE-2026-6473.
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 involves an integer wraparound in PostgreSQL's tsvector and tsquery data type functions that results in undersized memory allocation and out-of-bounds writes when processing crafted large inputs. An unprivileged database user can exploit this to execute arbitrary code with the privileges of the database server process. The flaw affects multiple PostgreSQL major versions prior to the specified patch levels. The vulnerability is similar to a previously fixed issue (CVE-2026-6473).
Potential Impact
Successful exploitation can lead to arbitrary code execution with the operating system privileges of the PostgreSQL server process, resulting in full compromise of the database server. However, exploitation via typical application user input is unlikely because the vulnerable data types are generally derived from application logic, not direct user input.
Mitigation Recommendations
A fix is available in PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 and later. Users should upgrade to these or newer versions to remediate the vulnerability. No additional mitigation guidance is provided or necessary beyond applying the official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-03T20:28:07.779Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7dc615bf8831d5393e5279
Added to database: 08/13/2026, 13:26:45 UTC
Last enriched: 09/12/2026, 05:01:28 UTC
Last updated: 09/28/2026, 16:10:36 UTC
Views: 43
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.