CVE-2026-14662: Integer Overflow or Wraparound in PostgreSQL
Integer wraparound in PostgreSQL tsvector and tsquery data type functions allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds, via crafted large inputs. This may execute arbitrary code as the operating system user running the database. These types are typically sourced from application logic, not taken from the application's user. Hence, application users attacking the database, through the application as a conduit, are unlikely. CVE-2026-6473 had fixed similar problems. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
AI Analysis
Technical Summary
This vulnerability involves an integer wraparound in PostgreSQL's tsvector and tsquery data type functions, which can cause undersized memory allocations 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 operating system user. The affected versions are those prior to PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24. The vulnerability is related to similar previously fixed issues (CVE-2026-6473). Exploitation via application users is considered unlikely because these data types are typically sourced from application logic rather than direct user input.
Potential Impact
Successful exploitation allows an unprivileged database user to execute arbitrary code as the operating system user running the PostgreSQL server. This can lead to full compromise of the database server environment. The vulnerability affects confidentiality, integrity, and availability with high severity (CVSS 8.8).
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. Until a patch is available, restrict unprivileged database user permissions and monitor for unusual activity related to tsvector and tsquery usage. Application-level mitigations are unlikely to be effective since the vulnerability is in internal data type functions.
CVE-2026-14662: Integer Overflow or Wraparound in PostgreSQL
Description
Integer wraparound in PostgreSQL tsvector and tsquery data type functions allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds, via crafted large inputs. This may execute arbitrary code as the operating system user running the database. These types are typically sourced from application logic, not taken from the application's user. Hence, application users attacking the database, through the application as a conduit, are unlikely. CVE-2026-6473 had fixed similar problems. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
CVSS v3.1
Score 8.8high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves an integer wraparound in PostgreSQL's tsvector and tsquery data type functions, which can cause undersized memory allocations 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 operating system user. The affected versions are those prior to PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24. The vulnerability is related to similar previously fixed issues (CVE-2026-6473). Exploitation via application users is considered unlikely because these data types are typically sourced from application logic rather than direct user input.
Potential Impact
Successful exploitation allows an unprivileged database user to execute arbitrary code as the operating system user running the PostgreSQL server. This can lead to full compromise of the database server environment. The vulnerability affects confidentiality, integrity, and availability with high severity (CVSS 8.8).
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. Until a patch is available, restrict unprivileged database user permissions and monitor for unusual activity related to tsvector and tsquery usage. Application-level mitigations are unlikely to be effective since the vulnerability is in internal data type functions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-03T20:28:07.779Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7dc615bf8831d5393e5279
Added to database: 08/13/2026, 13:26:45 UTC
Last enriched: 08/13/2026, 13:56:31 UTC
Last updated: 08/13/2026, 23:40:59 UTC
Views: 3
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.