CVE-2026-14664: PostgreSQL regexp heap buffer overflow executes arbitrary code
Vulnerability summary
CVE-2026-14664 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in postgresql. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 39.6% 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 55 · Related 30Timeline
- 13-08-2026PublishedVulnerability first disclosed.
- 29-08-2026Last modifiedVulnerability information updated.
Description
Heap buffer overflow in PostgreSQL regexp allows the query author to execute arbitrary code as the operating system user running the database, via text that would not pass encoding validation. This shares heritage with CVE-2026-2006, but this case involved unanticipated data growth when round-tripped through pg_wchar. 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.44%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.44% 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