CVE-2026-14662: PostgreSQL tsvector and tsquery undersize allocations, via integer wraparound
Vulnerability summary
CVE-2026-14662 is a high (CVSS 8.8) Integer Overflow or Wraparound vulnerability in postgresql. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 51.2% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 56 · Related 30Timeline
- 13-08-2026PublishedVulnerability first disclosed.
- 29-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.62%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Increase +0.16 pp
From 0.46% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu7 products
- postgresql-10All versions (No fix recorded)
- postgresql-12All versions (No fix recorded)
- postgresql-14< 14.24-0ubuntu0.22.04.1
- postgresql-16< 16.15-0ubuntu0.24.04.1
- postgresql-18< 18.6-0ubuntu0.26.04.1
Chainguard5 products
- postgresql-14< 14.24-r0
- postgresql-15< 15.19-r0
- postgresql-16< 16.15-r0
- postgresql-17< 17.11-r0
- postgresql-18< 18.6-r0
Wolfi5 products
- postgresql-14< 14.24-r0
- postgresql-15< 15.19-r0
- postgresql-16< 16.15-r0
- postgresql-17< 17.11-r0
- postgresql-18< 18.6-r0
Alpine4 products
- postgresql15< 15.19-r0
- postgresql16< 16.15-r0
- postgresql17< 17.11-r0
- postgresql18< 18.5-r0
Debian3 products
- postgresql-15< 15.19-0+deb12u1
- postgresql-17< 17.11-0+deb13u1
- postgresql-18< 18.6-1
Postgresql1 product
- postgresql≥ 14.0, < 14.24 | ≥ 15.0, < 15.19 | ≥ 16.0, < 16.15 | ≥ 17.0, < 17.11 | ≥ 18.0, < 18.5
6 vendors · 25 products