CVE-2026-14662
8.8high
PostgreSQL tsvector and tsquery undersize allocations, via integer wraparound
- Severity
- 8.8high CVSS:3.1 by PostgreSQL
- Exploit likelihood
- 0.62% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- PostgreSQL
- Also known as
- BIT-POSTGRESQL-2026-14662
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.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PostgreSQL | from 18 before 18.6, from 17 before 17.11, from 16 before 16.15, from 15 before 15.19, before 14.24 | CVE List |
| postgresql postgresql | from 14.0 before 14.24, from 15.0 before 15.19, from 16.0 before 16.15, from 17.0 before 17.11, from 18.0 before 18.5 | NVD |
| postgresql (Bitnami) | before 14.24.0, from 15.0.0 before 15.19.0, from 16.0.0 before 16.15.0, from 17.0.0 before 17.11.0, from 18.0.0 before 18.5.0 | Bitnami Vulnerability Database |
All scores
| PostgreSQL | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://www.postgresql.org/support/security/CVE-2026-14662/ | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-14662 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-14662 changed 2026-08-29 | CVE Terms of Use |
| NVD | CVE-2026-14662 changed 2026-08-29 | Public domain |
| Bitnami Vulnerability Database | BIT-POSTGRESQL-2026-14662 changed 2026-09-08 | Apache-2.0 |